Cloning
... more to come here
git-svn and clone
Cloning an svn repository where there is only one project with the standard layout(repo_url/[tags trunk branches]):
git svn clone --stdlayout [http(s)|svn]://repo_url local_name
Cloning an svn repo that is deeper in the svn tree
git svn clone --stdlayout --no-minimize-url --stdlayout [http(s)|svn]://repo_url local_name
Branch and merge
Working with branches
Push local branch to new remote branch
git push origin newbranch
Track a remote branch with a new local branch
git branch --track localbranch_name origin/remotebranch_name
No comments:
Post a Comment