Ignore Changes To A Tracked File
Last updated
Was this helpful?
Last updated
Was this helpful?
Files that should never be tracked are listed in your .gitignore
file. But what about if you want to ignore some local changes to a tracked file?
You can tell git to assume the file is unchanged
Reversing the process can be done with the --no-assume-unchanged
flag.