简体   繁体   English

git-svn:分支在svn存储库中重命名,如何告诉git-svn?

[英]git-svn: branch renamed in svn repository, how do I tell git-svn?

I'm using git-svn to track an svn repository with several branches. 我正在使用git-svn来跟踪具有多个分支的svn存储库。 One of the server branches I've been working with has been renamed in the svn repository. 我正在使用的服务器分支之一已在svn存储库中重命名。 Git-svn doesn't seem to understand what's happened. Git-svn似乎不了解发生了什么。 How can I tell git-svn what happened? 我怎样才能告诉git-svn发生了什么?

You should probably update your .git/config file to make your svn url points to a correct branch: 您可能应该更新.git/config文件,以使svn url指向正确的分支:

[svn-remote "svn"]
    url = https://my.repo/svn/MyProj/newbranch/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM