GitHub 快速問題排除 集錦

遇到 “Failed to add file …… to index.” !!

A: 檢查該檔案夾裡是否有別人遺留或是自己不小心創建的 .git 檔案。找到並移除後就可以正常 commit 了。