I have a repository with a .gitignore file at the root of the repository. On the command line, git uses this file and correctly ignores the files I want ignored. SourceTree does not appear to pick up this file. When I go to commit in SourceTree, files that should be ignored are not ignored.
How can I get SourceTree to reconize the .gitignore file
Maybe this is why:
.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 already being tracked."
I have the same issue. I have the .gitignore set in advanced settings at the "repository-specific ignore list" option, I have added the *.pyc to .gitignore, yet my pyc files are still listed in the working copy changes.
SourceTree uses its own gitignore file. SourceeTree -> Tools -> Options -> Git shows the git ignore file location it uses. You can edit the file from a button in that dialog.
I’m Jess, a Product Marketer for Jira Software Server and Data Center, and now a huge fan of our products. Read on for a 90 day, new-hire perspective on what it’s like to standardize on the Atlassian...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG