Undoing a commit in TortoiseSVN

后端 未结 3 1208
夕颜
夕颜 2020-12-04 07:41

I committed a bunch of files (dozens of files in different folders) by accident. What is the easiest, cleanest (and safest!) way to \'undo\' that commit without having to de

3条回答
  •  温柔的废话
    2020-12-04 08:15

    You can revert your working copy to the revision prior to the commit. Once you have reverted your working copy, then simply commit the changes and you will effectively rolled back the accidental commit.

    In a case like yours specifically, I would probably check out the revision that I wanted to roll back into a new working copy and then commit the working copy to the head revision.

提交回复
热议问题