SVN版本控制如何删除文件或者文件夹?
生活随笔
收集整理的這篇文章主要介紹了
SVN版本控制如何删除文件或者文件夹?
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
文章目錄
- 遇到的問題
- 解決方法
遇到的問題
svn倉(cāng)庫(kù)刪除文件,結(jié)果遠(yuǎn)程倉(cāng)庫(kù)還存在文件副本。
解決方法
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.
不要使用鼠標(biāo)刪除,或者直接使用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到遠(yuǎn)程repo即可。
總結(jié)
以上是生活随笔為你收集整理的SVN版本控制如何删除文件或者文件夹?的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JavaScript响应键盘不再用Key
- 下一篇: Tensorflow遇到的问题Inval