Open2
Git

Sourcetree で名前の変更を検知
- ウィンドウ右上の歯車アイコンをクリック
- 「高度な設定」タブをクリック
- 左下の「Config ファイルを編集...」をクリック
-
[core] ignorecase = fase
に設定

大文字、小文字の名前の変更を反映する
git rm --cached
で削除
- 名前の変更
- 変更前のファイル名をコマンドで削除
git rm --cached
- ステージ
- コミット
ファイル
$ mv Hoge.txt hoge.txt
$ git rm --cached Hoge.txt
$ git add hoge.txt
$ git commit -m "[rename] Hoge.txt -> hoge.txt"
ディレクトリ
$ mv Hoge/ hoge/
$ git rm -rf --cached Hoge/
$ git add .
$ git commit -m "[rename] Hoge -> hoge"