Skip to content

Instantly share code, notes, and snippets.

@skyler-cs
Created October 11, 2018 04:10
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 skyler-cs/bf4e8f81516ae9b30af38a82257e9210 to your computer and use it in GitHub Desktop.
Save skyler-cs/bf4e8f81516ae9b30af38a82257e9210 to your computer and use it in GitHub Desktop.

Merging a branch with anothor branch of an other source repository

# merging A/master with B/master
git remote add -f B path/to/B.git
git remote update
git merge B/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment