Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SourceTree creates uncommitted changes when switching branches

Flo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 24, 2013

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

0 votes
Ron Williams
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 31, 2015

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
TAGS
AUG Leaders

Atlassian Community Events