English 中文(简体)
如何在Git -svn得到最新的 SVN HEAD?
原标题:How to get the latest SVN HEAD in git-svn?
问题回答

以更新而非“Git pull ” :

git svn rebase

我猜你已经拥有了 与你对应的refs/remotes/ git-svn, 所以配合一下, 你不需要"真正的trunk"。

“ gitt check out” 不执行任何更改, 它只会改变您的当前分支 。 您可以重新修改您的当前分支, 但使用“ git check out your_ previous_ commit_ or_ branch ” 。

“ git checkout - b 分支名” 创建一个新的分支。 要删除分支, 请使用“ git 分支 - D 分支名 ” 。





相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签