2, local-branch1, -, , branch2, ? git (, , ). sha1. local-branch1 git reset --hard branch2 && git rebase --onto local-branch1@{1} SHA1 ( SHA1 - sha1). , , 1. , , , git -svn-id: git - svn ( git -- script, , , ).
, ? , , git checkout local-branch1 && git merge --squash branch2 && git commit. , ( git -svn). , , . , svn .