I am using SourceTree for my GIT repositories.
Today I need to ignore some files; when I added these files to ignore list from SourceTree's "Ignore file" menu and check local .gitignore file, the ignored files are not listed there. Instead these are listed in the global .gitignore.
How can I get SourceTree to add the files to the repository-specific .gitignore?
When you choose to ignore a file that is modified etc, SourceTree will bring up the following dialogue:
Instead of choosing the "global ignore list", select the "this repository only" option.