SVN版本控制如何删除文件或者文件夹?
生活随笔
收集整理的這篇文章主要介紹了
SVN版本控制如何删除文件或者文件夹?
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
文章目錄
- 遇到的問題
- 解決方法
遇到的問題
svn倉庫刪除文件,結果遠程倉庫還存在文件副本。
解決方法
Please do not delete files and recreate new files with same name. Instead update them. If you delete a file, there are two problems.
(instead of simply updating the file), you lose track of the change history.
If you want to move a file, don’t delete and recreate. Instead use svn mv
command.
不要使用鼠標刪除,或者直接使用rm命令。
而是需要使用svn開頭的命令,和git差不多。
svn rm filename比如
$ svn rm ui D ui D ui\css D ui\css\style.css D ui\index.html D ui\js D ui\js\main.js然后使用svn commit到遠程repo即可。
總結
以上是生活随笔為你收集整理的SVN版本控制如何删除文件或者文件夹?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JavaScript响应键盘不再用Key
- 下一篇: IDEA2021快捷键windows