今天git 無法送出
提示
fatal: Unable to create '/Users/apple/LXKJ/項目/LXGitHub/QJShop_iOS/.git/index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
解決辦法
顯示檔案系統隐藏檔案夾
defaults write com.apple.finder AppleShowAllFiles -bool true
找到工程路徑.git目錄下删除index.lock 檔案