You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
![GitHub](https://cdn-ak-scissors.b.st-hatena.com/image/square/d4d2c9003d17034ded1bf4b335f893e95d3c0750/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fassets%2Fcampaign-social-031d6161fa10.png)
Gitで表題のようなエラーが出た。 ファイル名をチェックすると、ファイル名の一部が大文字小文字で異なっていた。 これは git を介さずにファイル名を変更したためとのこと[1]。 解決法には以下の2つがある。 元のファイル名に戻す。 ファイル名変更をgitに伝える。 ここでは後者の方法を提示する。 手順は次の通りである。 元のファイル名でgit mv コマンドを実行する。 > ls a.txt > mv a.txt A.txt > ls A.txt > git mv A.txt B.txt fatal: not under version control, source=A.txt, destination=B.txt > ls A.txt > git mv a.txt B.txt > ls B.txt あるいは、ファイル名自体を変更する方法もあるが、手間なのでお勧めはしない。 > ls
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く