If I use git svn dcommit to commit a change, and then make a few changes and call git svn dcommit again, what is the simplest way to roll back the changes to the first version. If I were working only locally, then git reset --hard HEAD^ would be fine, but I need this to work on the svn server.
If I use git svn dcommit to commit a change, and then make a
Share
Use
git revertto make a new git commit that un-does the earlier change. Thengit-svn dcommitthat to the svn server. You would not use yourgit resetsolution if you had pushed to a remote git repo either: It would confuse everyone who had pulled the intermediate revision that had your change.