Does Git have some kind of "ignore once" function?
I need git to overlook a change to a record just this time, is it conceivable?
I have a followed document with factors , I need to change:
too be 'false',
I don't want the file to show up when staging files, so I can do a "stage all".
I also don't want to add the file to .gitignore, because the file contains other variables that changes & should be tracked.
I don't want to push the Debug: 'false', because that would just make other people have the opposite problem with wanting to have the Debug: 'true' without tracking.
Is this possible?
I'm aware of:
git-update-index --assume-unchanged <file>
Be that as it may, in the event that I comprehend it effectively it will keep on not track the progressions untill I utilize the - no-expect unaltered banner to begin following.
Can I first utilize - expect unaltered at that point do the change and then utilize - no-accept unaltered to sidestep the following?
For what reason is it valuable, who might profit by it, by what means would it be advisable for it to work?
Thanks in advance.