Setup
git remote add upstream https://github.com/pantheon-systems/drops-7.git
Merging in changes
git merge upstream/master
git pull origin master
NOTE: might need to call git pull github master
and git pull pantheon master
seperately.
git checkout -b updating-flight
git pull -s recursive -X theirs [email protected]:albatrossdigital/flight-drops-7.git
git mergetool
NOTE: You may be prompted to choose between {local} and {remote} files just choose "m - modified" if it corresponds to the remote files you may also be forced to click through a bunch of files on the command line. Because you've chosen "theirs" no action will actually be necessary.
Once merged, you can remote any "orig", ect files.
git status -su | grep -e"\.orig$" | cut -f2 -d" "
git status -su | grep -e"\.orig$" | cut -f2 -d" " | xargs rm -r
git commit -m "Updating to flight 7.xx"
git checkout master
git merge updating-flight
git push origin master