Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

So recently I had a problem with SourceTree. It was stuck in the 'Rebase' state for one of my repositories and I had no way from within SourceTree to abort the rebase. There was an easy fix for this issue via the command line however.

The repository browser was showing my repository in the 'Rebase' state...
srctreerebase_1.png


Whenever I tried to Pull, I'd get a dialog box, "Rebase In Progress" that had options to Abort Rebase, Cancel and Continue Rebase.
srctreerebase_3.png


Every time I selected Abort Rebase, it would show the abort progress dialog but nothing else would happen. Selecting Abort from the Actions menu had no effect either. The repository was stuck.
srctreerebase_4.png


This is when I decided that SourceTree couldn't be trusted to complete this task and I had to do it manually via the command line...
srctreerebase_5.png


Entering "git am --abort" did the trick and my repository went back to its normal state.



-i

Skip down to comments...
Hope you found this post useful...

...so please read on! I love writing articles that provide beneficial information, tips and examples to my readers. All information on my blog is provided free of charge and I encourage you to share it as you wish. There is a small favour I ask in return however - engage in comments below, provide feedback, and if you see mistakes let me know.

If you want to show additional support and help me pay for web hosting and domain name registration, donations, no matter how small, are always welcome!

Use of any information contained in this blog post/article is subject to this disclaimer.
 
comments powered by Disqus
Other posts you may like...