public:git:gitsvn
Table of Contents
Git-svn
Get-svn reminder.
Cloning SVN repository
Clone SVN repository on a local git repository :
git svn clone -s <SVN-url-root>
Viewing branches
Display SVN and Git branches :
git branch -a
Checkout a SVN branch
Changing to SVN branch :
git checkout <SVN-branch-name>
Creating a working Git branch from current SVN branch :
git checkout -b <GIT-branch-name>
Updating SVN repository
Update local SVN clone :
git svn fetch
Merging SVN repository in GIT branch
After checkouting Git branch and updating SVN clone, merging update into Git branch:
git svn rebase
public/git/gitsvn.txt · Last modified: 2010/05/04 20:47 by toony