It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sourcetree (for Mac) is committing unstaged files

Not sure if I am missing a setting or if this is a legitimate bug.  Whenever I commit, it also commits my unstaged files/hunks.  This is obviously very frustrating and has caused some code to be committed that I was not ready to commit or ever intended to be committed.  I have included some screenshots to illustrate a simple scenario.  Below I only intend to commit the changes for the one file 'environment.dev.ts'.  As you can see I left the 2 other files unstaged as I do not intend to commit those changes quite yet.  However, after committing the changes I pulled up the commit which shows that all 3 files were committed up anyways.

 

Before Commit (Staging):

Staging_PreCommit.png

After Commit: 

Post_Commit.png

1 answer

The same thing is happening to me. I am not sure how to solve it so I went back to command line and stopped using SourceTree for now.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,935 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you