Disable SourceTree from automatically adding files on commit

Our team has a Mercurial repository, and is in the process of switching from using Tortoise to SourceTree as the GUI client. I'm finding that when I commit in SourceTree (v1.4.1.0 for Windows), it automatically adds all untracked files to the repository, whereas in Tortoise the files remained untracked until/unless I explicitly added them to the repository.

I'd prefer that SourceTree not add new files to the repository automatically, but I cannot figure out how to disable the default auto-add behavior. Therefore, my question is:

Q: Is it possible to configure SourceTree to refrain from adding new files to the repository on commit, by default?

Thank you, in advance.

4 answers

What commit mode are you using? "staged" or "selected"?

From a bit of web searching, it appears that "staging" is a Git feature without a (built-in) equivalent in Mercurial. That said, I'm pretty new to all of this and could easily be wrong. Is there a staged/selected option in SourceTree when using Mercurial?

Ah, I had no idea that was a difference. I only use Git, so I can't really help here.

Did you ever find a setting for this? Using git as well and this auto-adding of files is extremely annoying...

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

262 views 0 3
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot