You should use Stop Tracking . After this, if you see the file listed in Unstaged files, you can use right-click > Ignore... in SourceTree to ...
gitignore will prevent untracked files from being added (without an add -f ) to the set of files tracked by git, however git will continue to track any files that are ...
If the files have already been added or committed to your Git repository, you must first stop tracking them before they will be ignored by .gitIgnore.
In SourceTree, you can right-click on a file and select "Stop Tracking".
For this to work the directory itself needs to be ignored rather than the file
go to the Git or Mercurial tabs and click the Edit File button next to the Global Ignore ...
If SourceTree is notified of a change in the file system, it will check the cached ignore patterns and filter out changes that are contained within ...
Some files in a repository need to be versioned, but not committed to an upstream repository. This is how to achieve and how to create a Custom Action in Sourcetree for
In Mercurial, there will be a “.hgsub” file instead but the principle is the same
(It is /\* because you need to escape the *); Commit your changes. Push to remote. After having done this, you will effectively "ignore tracked files ...