Skip to content

Instantly share code, notes, and snippets.

@iamcal
Created December 12, 2011 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamcal/1468403 to your computer and use it in GitHub Desktop.
Save iamcal/1468403 to your computer and use it in GitHub Desktop.
Merging to a parent repo after it accepts your changes
$ git remote add parent git://github.com/shiflett/testmore.git
$ git fetch parent
$ git branch parent-master parent/master
$ git checkout parent-master
$ git checkout master
$ git merge parent-master
$ git push origin master
$ git branch -d parent-master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment