I have a repository (repo1) with a master branch and another repository (repo2) with a master branch. Now I want to create a new branch in repo1 from repo2 with all commits history.
My expected result:
repo2
----
|
\
master
repo1
----------
| |
\ \
master master-from-repo2
any-branch-in-repo2:master-from-repo2
instead ofmaster:master-from-repo2
? – Compression