用 Subversion 的 Merge 來 Undo

如果做了一個 mega commit 後要 undo 的方法:(可以是上百行、上千行、上萬行,反正不想要手動改回來)

svn merge -r 1234:1233 . .
svn commit

這個動作其實就是做一個 r1234 與 r1233 的 diff 後 patch 進 working repository,然後 commit 出去。

This entry was posted in Computer, Murmuring, Programming, Software. Bookmark the permalink.

5 Responses to 用 Subversion 的 Merge 來 Undo

  1. Pingback: 一些 SVN 的介紹網站 « 竹北小黑

  2. Pingback: Subversion Undo at Gea-Suan Lin’s BLOG

  3. Pingback: sonicat » Blog Archive » svn tutorial

  4. Pingback: SVN指令簡介 | 開車到處玩

  5. Pingback: SVN commands | Zhipeng JIANG

Leave a Reply

Your email address will not be published. Required fields are marked *