Re: [PATCH] checkout without arguments does not make sense
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 22, 2008, 00:57 UTC
- Message-ID
- <alpine.DEB.1.00.0807220256270.3407@eeepc-johanness>
- In-Reply-To
- <20080721214459.GJ32057@genesis.frugalware.org>
Hi,
On Mon, 21 Jul 2008, Miklos Vajna wrote:
Show 10 quoted lines
> On Mon, Jul 21, 2008 at 05:36:59PM -0400, Avery Pennarun <apenwarr@gmail.com> wrote: > > > I think "git status" reports this information in recent versions, > > doesn't it? > > Right. But that shows other infos as well, for example the untracked > files, etc. So there are cases when git checkout is just better. > > However, you are right about it may not be the best habit from my side > to use git checkout to get that info. ;-)
I usually call "git status" for that information. But Junio suggested checkout recently on #git, for exactly that information, so you are not alone at all.
Ciao, Dscho