LoginSignup
320
176

More than 5 years have passed since last update.

Gitでファイル名の大文字・小文字の変更を検知するようにする

Posted at

Gitはデフォルトでファイル名の大文字・小文字の変更は検知しない設定になっている。
(たとえば、hoge.htmlからHoge.htmlにしても検知しない)

$ git config -l --local | grep core.ignorecase
core.ignorecase=true

これをfalseにしてあげたらOK.

$ git config core.ignorecase false

確認。

$ git config -l --local | grep core.ignorecase
core.ignorecase=false
320
176
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
320
176