Tuesday, December 11, 2012

git-svn cheat list 2

Small additional about svn git after this one. Sometimes I have svn repo with huge amount of commits (for now I have svn repo with about 50000 commits), clone it is a REAL pain.


But in the internet I found solution.

# checkout a specific revision
git svn clone -r N svn://some/repo/branch/some-branch
# enter it and get all commits since revision 'N'
cd some-branch
git svn rebase

thx this link

No comments:

Post a Comment