Re: Git rescue mission
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Feb 8, 2007, 22:10 UTC
- Message-ID
- <20070208221023.GB1091@spearce.org>
- In-Reply-To
- <87bqk4z4qw.fsf@host94.eke.fi>
Kalle Pokki <kalle.pokki@iki.fi> wrote:
Show 7 quoted lines
> Perhaps gitk could (optionally) also show ORIG_HEAD. That way we could > just do > > gitk --all > > after a pull and see what got pulled, and everything else was already > there, too, if needed.
git config alias.new "gitk --all --not ORIG_HEAD"
Would give you a new git subcommand:
git new
which shows all of the new stuff, on all branches, but doesn't show your prior commit history.
-- Shawn.