Re: Undo last commit?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 30, 2011, 17:29 UTC
- Message-ID
- <7vfwmrqlc3.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <BANLkTimZN4swfY13zMjkCbAc9UsGSix02Q@mail.gmail.com>
Mike <xandrani@gmail.com> writes:
> "git reset --soft HEAD^" can't be picked up that quickly by a > beginner, but git uncommit would be obvious!
So would "git commit --amend", before which "reset --soft HEAD^" was the only way to prepare doing it, but after which "reset --soft HEAD^" more or less outlived its usefulness for that particular use case.