How do I make git-svn use a particular svn branch as the remote repository?

后端 未结 4 1231
面向向阳花
面向向阳花 2020-12-07 09:52

A word of warning: I\'m a n00b to git in general. My team uses feature branches in svn, and I\'d like to use git-svn to track my work

4条回答
  •  感动是毒
    2020-12-07 10:53

    Muchas gracias to Bart's Blog for this handy reference for svn branches in git. Apparently all I needed was to specify a remote branch when creating the git branch, e.g.,

    git checkout -b git-topic-branch-foo foo
    

    where foo is the name of the remote branch.

提交回复
热议问题