Yes, .git/info/exclude is a nice trick. No, we don’t need another AI-generated article about it.
Also, that suggestion about how to avoid committing temporary changes is not great. Just run a git restore, instead of applying strange settings to your entire repo and then wasting time trying to debug whatever went wrong after forgetting that you made that change to git behavior for a single file.
Also, that suggestion about how to avoid committing temporary changes is not great. Just run a git restore, instead of applying strange settings to your entire repo and then wasting time trying to debug whatever went wrong after forgetting that you made that change to git behavior for a single file.