SHARE
TWEET

Untitled

a guest Dec 3rd, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cd ..
  2. for folder in *; do
  3.     if [ -d ${folder} ]; then
  4.         if [[ ${folder} != "script" && $folder != "app-base" ]]; then
  5.             printf "Merging \e[44m$folder upstream/staging \e[49m\n"
  6.             cd $folder
  7.             git reset --hard
  8.             git checkout development
  9.             git fetch upstream staging
  10.             git pull upstream staging
  11.             git merge upstream/staging
  12.             printf "\e[42mMerge Complete !\e[49m\n"
  13.             cd ..
  14.         fi
  15.     fi
  16. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top