I need to work on file.txt locally and in Git, with different content. I want Git not to tell me that there have been changes to that file.
file.txt
Is this possible
All you need is to click the more button in sourcetree just at the right hand side of the filename, in the unstaged files section. Click ignore and make source tree perform your desired action for that file or all the files with the same type.
more
ignore