Better way to revert to a previous SVN revision of a file?

前端 未结 9 1112
小鲜肉
小鲜肉 2020-12-04 04:34

I accidentally committed too many files to an SVN repository and changed some things I didn\'t mean to. (Sigh.) In order to revert them to their prior state, the best I coul

9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-04 05:33

    If you only want to undo the last checkin, you can use the following

    svn merge -r head:prev l3toks.dtx
    

    That way, you don't have to hunt for the current and previous version numbers.

提交回复
热议问题