SourceTree creates uncommitted changes when switching branches

Hey guys,

I am developing two different features in different folders and branches of a git repo.

Nearly everytime I switch from one branch to another - after committing everything - SourceTree creates uncommitted changes in the branch I just switched to, that come from the branch I switched from. This constantly messes up my repo and I have to clean up the branches again.

Why is this happening?

Thanks in advance for your help.

1 answer

I'm having the same problem. It seems like if I have more then one file to commit and push then switch to another branch this branch has all the uncommitted changes from the branch I just pushed. I have to discard all changes then do my merge. AHHHHH! It just start doing this all of a sudden.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,125 views 4 2
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