The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Files remains unstagged or not moved to stash

Zaigham Raza
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!
July 3, 2023

I have 3 files that are shown in uncommitted changes. If I try to commit these files remain uncommitted even though we have these files on git. If I try to stash these files have the same status and for that reason, I am not able to switch the branch because Sourcetree gives an error of uncommitted changes.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Martin Runge
Community Champion
August 20, 2026

Hi @Zaigham Raza

Welcome to the Atlassian community!

I would run git status --porcelain from Actions > Open in Terminal first, because Sourcetree only mirrors what Git reports. In most cases like this the files sit inside a submodule, or only the file mode or line endings changed, so there is nothing Git can actually stage or stash.

This thread is from 2023, so is it still an issue for you?

Cheers, Martin

TAGS
AUG Leaders

Atlassian Community Events