Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ローカルホストと本番環境でconfig.phpファイルの異なるコピーを保持するために次のことを行いました。
$ git update-index --assume-unchanged application/config/config.php
残念ながら、config.phpファイルを正確に記述していなかったため、変更を加えてコミットし、ファイルを再度無視できるように、これを逆にする必要があります。
git update-indexコマンドを元に戻すにはどうすればよいですか?
git update-index
git update-index --no-assume-unchanged application/config/config.php
--no接頭辞、スタイル的には二重否定に注意してください。
--no