私はリモートのgitリポジトリのローカルコピーを持っています。 "git status"を実行するたびにこのエラーが発生します。git status:不正なfilenameの結果が「プロトコルエラー」
git status
public/app.chart/license/Creative Commons�� Attribution-NonCommercial-ShareAlike 4.0 International�� CC BY-NC-SA 4.0.pdf: Protocol error
On branch master
Your branch is up-to-date with 'origin/master'.
このファイルはリポジトリに存在しません。私は枝を切り替えると 、私はこのメッセージが表示されます。
git checkout test_branch
D "public/app.chart/license/Creative Commons\200\224 Attribution-NonCommercial-ShareAlike 4.0 International\200\224 CC BY-NC-SA 4.0.pdf"
Switched to branch 'test_branch'
は、この問題を解決する方法はありますか?
それは 'のgit status'と' gitのは、このファイル*が*存在しないことをcheckout'両方から明らかですリポジトリに保存します。おそらく、OSがパス名を拒否するため、*作業ツリー*には存在しません。あなたはMacOSにいますか? Gitのバージョンは何ですか? – torek