搜尋此網誌

2020年8月27日 星期四

常用Git指令

強制push
git push -f


移除已被Git追蹤的檔案
1.專案目錄下git rm -r --cached .
2.修改.gitignore
3.執行git add .

沒有留言:

張貼留言