When creating branches, we tend to do an empty commit just to create the branch. However if you have modified files in the working copy when doing so, SourceTree seems to commit those files too even though they're unselected in the commit window.
Why do you do that? Try just right-clicking the new branch and pushing it to origin. It won't be displayed as a branch in the graph, but that doesn't mean it isn't one.
This is in Mercurial, not git, so you can't just 'push'. You have to commit to a new branch.
And regardless, if the files are un-checked in the commit window, SourceTree should not commit them, that is a bug.
It looks like you're new here. Sign in or register to get started.