How to switch svn branches using git-svn?

后端 未结 3 1719
半阙折子戏
半阙折子戏 2021-02-01 18:36

Duplicate

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

I am using git-svn to track development by s

3条回答
  •  说谎
    说谎 (楼主)
    2021-02-01 19:15

    If you've cloned the SVN repository properly (using -T -b -t or -s), you should be able to use the git branch commands like:

    git reset --hard remotes/branch
    
    git checkout branch
    

    etc.

提交回复
热议问题