How do I overwrite my local changes in TortoiseSVN?

后端 未结 6 2264
一整个雨季
一整个雨季 2021-02-18 15:46

Lets say I did a check out, edited some stuff and realized I want to re-download the repository code and overwrite my local changes without commiting them.

I downloaded

6条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-18 16:23

    From the Explorer context menu, TortoiseSVN, Revert (you may have moved some common commands up from the Tortoise sub-menu to the main context menu).

    However, before reverting, I would do a diff (context menu, TortoiseSVN, Diff with previous version) to be certain that you are only throwing away what you think you're throwing away.

    It is very easy to only think of the most recent changes and forget that you haven't committed something you want to keep.

提交回复
热议问题