Skip to content

Instantly share code, notes, and snippets.

@trentbrooks
Last active August 29, 2015 14:03
Show Gist options
  • Save trentbrooks/19514e0985794fd6a21d to your computer and use it in GitHub Desktop.
Save trentbrooks/19514e0985794fd6a21d to your computer and use it in GitHub Desktop.
syncing OF fork with local master, then merge with develop
git fetch upstream
git checkout master
git merge upstream/master
git checkout develop
git merge upstream/master
// merge a branch into master
git checkout master
git pull origin master
git merge develop
git push origin master
// gitignore problems
git rm --cached myApps/*/*.xml
// more problems
git reset --hard origin/master
git reset --hard upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment