Create
cancel
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 SourceTree UI work with reflog?

I had to search my local reflog to recover something I accidentally rebased and squashed using git commandline only.  Can SourceTree UI do the same?  If so, where?  If not, will it in the future and when?

1 answer

Workaround: Add and use custom actions

1. Add: git reflog

   (Actions > Custom Actions > Edit ... > Add: Script to run = git, Parameters = reflog)

2. Run git reflog

3. Search and copy desired SHA

4. Branch SHA

    (Repository or Menu > Branch: Specified commit: <paste SHA> > Create Branch)

Extra: See in History view

Hi! When I do this, I just see a loader quickly appear and disappear. What do you see?

Suggest an answer

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

5,759 views 4 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