Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
git-svn 目前让我发疯。
我跑了:
git rm <file> git commit
该文件仍在 svn repo 中,但我不知道如何将其检出以使其处于修订控制之下。我想在 svn 中做同样的事情:
rm <file> svn update
谢谢
如果您没有使用 将提交推送到 Subversion 存储库git svn dcommit,您可以使用git reset --hard HEAD^.
git svn dcommit
git reset --hard HEAD^
With git commit you commit removal locally. You should run git svn dcommit then, it's an analog of git push.
git commit
git push