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.
Did you ever find a setting for this? Using git as well and this auto-adding of files is extremely annoying...
Ah, I had no idea that was a difference. I only use Git, so I can't really help here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What commit mode are you using? "staged" or "selected"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.