Is there a way in git to maintain some files always unstaged?
Here's the context:
I've done some modifications to my source code that are just temporary (eg, I've modified my log level), in the meantime I've done some other "serious" mods. Clearly, I don't want to stage/commit the temp mods, but I want to keep them as long as I need and then discard them later (after several commits).
Can I, in some way, "flag" the temp mods such that they are in a sort of lock state where if I stage all files, the flagged ones remains in the unstaged area?
Thank you