Forums

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

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

Dean Stevenson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2019

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 Champion
February 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.

Dean Stevenson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 22, 2019

Thank you for clarifying!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events