Forums

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

Add or delete a file can't be displayed in "Unstaged files" area in sourcetree

Jay.Ren July 18, 2025

Hi team,

I am trying to modify the code in our Bitbucket project. but when I add or delete a file, it can't be displayed in the "Unstaged files" area in Sourcetree. Please kindly help.

 

Regards,

Jay

1 answer

0 votes
Mia Tamm
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2025

Hi @Jay.Ren,

This issue can happen for a few common reasons:

  1. Sourcetree not refreshing – Try clicking the “Refresh” button or restarting Sourcetree to see if the file changes appear.

  2. .gitignore file – Make sure the files you’re adding or deleting are not listed in the .gitignore file. If they are, Git will ignore them and they won’t show up.

  3. Outside of repo – Double-check that you are adding or deleting files inside the tracked Git repository folder.

If none of these work, try running git status from the command line in your repo folder. That can help confirm whether Git is detecting the changes, and whether the issue is with Git or just the Sourcetree UI.

Hope this helps!

— Mia Tamm from Simpleasyty

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events