git command 刪除文件

git rm ""文件路徑名 git rm --cached ""filename 只從git刪除文件,不刪除本地文件 刪除文件夾 git rm -r 「folder路徑」 git commit -m 「delete」 git push -f origin master 例如 git rm 「demo/1.txt」 git commit -m 「delete」 git push -f origin
相關文章
相關標籤/搜索