2011-11-17 27 views

回答

3

確定這樣的:

git commit -m "comment" 

不會從您的git回購刪除文件。

做:

git commit -a -m "comment" 

你也可以這樣做:

git rm path/to/file 
git commit -m "comment" 

See doc herehere

+0

謝謝@Francisco Soto – apneadiving

0

,或者你可以做git add -u .排隊刪除的文件,然後提交

相關問題