環境
mac os
症状
1. 同じディレクトリに対して2つのコマンドを実行した結果、lsコマンドと、git rm -rコマンドで差異が生じる
git rm -r End を入力後タブキーを押す
EndUsers EnduserDevices EnduserEvents Endusers
ls -la|grep End
drwxr-xr-x - kazukinakamura 15 3 18:00 EnduserDevices
drwxr-xr-x - kazukinakamura 15 3 18:00 EnduserEvents
drwxr-xr-x - kazukinakamura 15 3 18:00 EndUsers
2. git clone時Warningが発生する
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
原因
mac osでは大文字小文字を区別しない
Which OS are you using? This error is caused by your filesystem not being case sensitive, like the default on Mac OS X.
対策
消したいフォルダを消す
今回消したいディレクトリはEndUsersなので
git rm -r EndUsers/