Re: Documentation problems
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Sep 20, 2009, 18:45 UTC
- Message-ID
- <vpqeiq1zc9f.fsf@bauges.imag.fr>
- In-Reply-To
- <4AB67665.10402@gmail.com>
Bruce Korb <bruce.korb@gmail.com> writes:
> Since I haven't created any any branches (to my knowledge), it seems > that "master" is the magic branch name.
I wouldn't say "magic", but surely the default ;-).
> My goal was just to get a list of managed files.
Just cd /where/your/repo/is git ls-files
> Is "master" going to remain my "HEAD" now?
Yes.
Show 10 quoted lines
>> git-ls-tree is the old way to >> refer to the command name. Normally, any reference to dashed names >> should have been removed from the documentation by now (so most likely >> you see it in your distro because it's an old enough version, >> otherwise, it's a bug in the doc). > > $ git --version > git version 1.6.0.2 > > I guess the man pages and installation were out of sync for that release.
Well, actually, a few more instances of dashed commands were removed more recently. That said, to get the doc for "git foo", you still have to type "man git-foo" (or git foo --help indeed), but that's because "man git foo" means something different to man.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/