SVN - delete a revision, or make an older revision the head

前端 未结 3 2129
自闭症患者
自闭症患者 2021-01-02 02:14

I\'m fairly new to SVN and I\'ve never had to revert back to a previous revision, although I can get a copy of a revision from the repository okay. I\'m using TortoiseSVN a

3条回答
  •  时光取名叫无心
    2021-01-02 02:29

    What you need is a so-called reverse merge:

    svn merge -r HEAD:
    

    See the Tortoise SVN merge documentation for details on how to do that with Tortoise SVN. Also see the SVN book (copied link from another StackOverflow question; it's actually a FAQ).

提交回复
热议问题