From: Andreas Schwab Date: Tue, 08 Jan 2019 17:43:50 GMT Subject: Re: git rebase: retain original head? Message-ID: <87va2zavu1.fsf@igel.home> In-Reply-To: On Jan 08 2019, Markus Wiederkehr wrote: > During the rebase operation the original head seems to get stored in > 'rebase-merge/orig-head'. Unfortunately this references gets removed > after the rebase operation completes. > > Would it be possible to retain this information? You could use the reflog of the current branch, where it is the second entry. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."