开发者

No longer track branches with git-svn

开发者 https://www.devze.com 2023-02-06 07:29 出处:网络
I have cloned a svn branch using git-svn and am tracking all folders and branches. I would lik开发者_如何转开发e to drop everything and only track web/trunk/* (for rebase, dcommit, etc.)

I have cloned a svn branch using git-svn and am tracking all folders and branches. I would lik开发者_如何转开发e to drop everything and only track web/trunk/* (for rebase, dcommit, etc.)

Is there any way to do this without reinitializing the repository?


I think you'll always pull in all the remote revisions. However, you can still stop tracking the branches and tags I believe by editing the .git/config file and removing the lines under the "svn-remote" section for "branches" and "tags".

0

精彩评论

暂无评论...
验证码 换一张
取 消