Re: git rebase -i and the reflog
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 10, 2010, 22:23 UTC
- Message-ID
- <7v3a183f3q.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <fabb9a1e1002101419x40844a42s21108aaa849430c1@mail.gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> writes:
> I use "git rebase -i" a lot, and as a result the output from 'git log
> -g' and 'git reflog' is a tad messy. That is, it's (afaik) not
> possible to check that after my rebasing did not mess things up using
> something like 'git diff HEAD@{1}'.Yes and no. I too suffer from it but only when I rebase a detached HEAD state. If you rebased a topic, "git diff topic@{1}" (or "git diff @{1}") would give you what you want.