Subversion不像Git一样提供撤销提交的方法。最近我学到,使用TortoiseSVN可以事后修改Subversion提交消息,但是Subversion提交本身更或多或少是最终版本。因此,您需要通过使用git revert <commit_hash>来撤销您的更改并进行新的提交,然后像您在评论中指出的那样跟随git svn dcommit。不幸的是,这并不能帮助避免其他人对修改文件的冲突,即使这两个提交总体上什么也没有做。
git revert <commit_hash>
,然后再使用git svn dcommit
? - Adam Greenhall