清除本地檔案夾下的git檔案,然後在重新初始化建立的git倉庫 //删除檔案夾下的所有 .git 檔案 find . -name ".git" | xargs rm -Rf //初始化倉庫 git init