开发者

No longer track branches with git-svn

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜