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
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,927 views 0 12
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