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

Can I see a history of which branches I have deleted from origin?

I used the Sourcetree UI to delete local and remote versions of branches.  I'd like to see in hindsight what I've deleted.  I'm hoping there is a command history that captures it or something similar.  Thanks!

1 answer

1 vote
Mikael Sandberg Community Leader Feb 20, 2019

Hi Dean,

Welcome to Atlassian Community.

Branches in Git are just pointers to different commits and moves when a new commit is added to that branch. Once you delete a branch, there is not history of it, unless you rely on the automatic comment when you do a merge. So the answer is no, there is no command in Git, or action in Sourcetree, that would give you a list of deleted branches.

Thank you for clarifying!

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,233 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