Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why running fetch on command line doesn't update branches on SourceTree?


I have a script that finds all submodules on a repository and all base repositories, and runs a fetch --prune on them. I get notification of many branches being deleted. When I run the script again, it doesn't show those branches anymore, so they get updated.

I have SourceTree opened. Those branches are not deleted. only when I run a Fetch inside SourceTree they dissapear. If  restart SourceTree or press F5 it doesn't happen either.

How come this is happening? It's the same repos, the difference is that I use the SourceTree git from command line to do it.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,235 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you