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.
Community moderators have prevented the ability to post new answers.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.