git刪除遠程倉庫的文件或目錄,但不刪工做區

刪除aa目錄下的1.txt文件:git rm -r --cached aa/1.txt 刪除aa目錄:git rm -r --cached aa -r:Allow recursive removal when a leading directory name is given. –cached:Use this option to unstage and remove paths only fro
相關文章
相關標籤/搜索