Skip to content

Instantly share code, notes, and snippets.

View dlaynes's full-sized avatar

D. Laynes dlaynes

View GitHub Profile
@gschema
gschema / Git - how to temporarily ignore and unignore file changes.md
Last active May 15, 2023 03:34
How to temporarily ignore and unignore file; check which files are ignored

How to temporarily ignore/unignore file changes in Git?

ignore:

git update-index --assume-unchanged <file>

unignore:

git update-index --no-assume-unchanged