Skip to content

Instantly share code, notes, and snippets.

@amrnt
Created November 3, 2010 21:13
Show Gist options
  • Save amrnt/661726 to your computer and use it in GitHub Desktop.
Save amrnt/661726 to your computer and use it in GitHub Desktop.
fetching and merging to repos
cd A
git remote add test ../B && git fetch test
git merge test/master
git push (if you use a remote repo.)
git remote add rails https://github.com/rails/rails.git; git fetch rails; git merge rails/master; git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment