Git ignore config file after commiting repository 10 Apr 2025 Ignore config.json git add config.json git commit git push git update-index --assume-unchanged config.json Update config.json git update-index --no-assume-unchanged config.json git commit -a git update-index --assume-unchanged config.json