Commit or discard the changes and try again.解決方法:1.先切換到本地倉庫路徑:cd /Users/etong/Git-Projects2.執行重置命令:git reset --hard