Step1:
將欲取消追蹤的檔案加入.gitignore
Step2:
在repo中刪除該檔案:
git rm -r --cached .
git commit -m "Untrack and delete filename in repo."
Step3:
push到遠端
將欲取消追蹤的檔案加入.gitignore
在repo中刪除該檔案:
git rm -r --cached .
git commit -m "Untrack and delete filename in repo."
push到遠端