What is the correct way to convert SVN remote branches and tags into local Git branches/tags during SVN to Git migration

后端 未结 5 659
庸人自扰
庸人自扰 2020-12-30 15:00

What is the correct way to make the remote branches/tags that exist after a git-svn init/git-svn fetch into local Git branches/tags before pushing to my remote Git repo and

5条回答
  •  感动是毒
    2020-12-30 15:37

    According to an answer on Git mailing list, I don't need to convert these branches into local ones before pushing them to my remote repo. I just need to do:

    git push  svn/:refs/heads/
    

提交回复
热议问题