Tell Git To Ignore Local Changes Made To A File
Add a file to ignore list [1] ↗️
And to reverse it
To list files ignored [2] ↗️
This is useful if you want to make some changes to a file for a workaround that only happens in your local machine. This will tell Git to ignore these changes.