[Development] Recover from a bad rebase (incorrect squash)

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Mon Oct 21 14:06:10 CEST 2013


>> Hi All,
>>
>> Is there a safe to recover from a bad rebase ? I've squashed commits
>> incorrectly.
>
> Use 'git reflog' to get the HEAD of the commit before the squash, and use git reset to restore it.

Thanks Kai! That fixed it!

-mandeep

>
> Regards
>
> Kai



More information about the Development mailing list