Re: Call Me Gitless
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 19, 2008, 18:15 UTC
- Message-ID
- <7v4p5gdg6c.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <ee521d6f0808190504u12be6195o71eb2f3a38f73a5f@mail.gmail.com>
"Alexander E Genaud" <alex@genaud.net> writes:
Show 12 quoted lines
> Thanks for pointing me to 'git-rm --cached'. > >> The changes are "cached" in the "Index". But I wouldn't name >> the "Index" really a "Cache" because it is a lot more. All >> comments for --cached in the manpages mention the Index >> mechanism. Additionally there is a more detailed introduction >> to the Index in section 7 (Git concepts) of the Git User's >> Manual > > Funny the first example shows the contents of the index using a '--stage' flag. > > $ git ls-files --stage
For ls-files, --cached mode is the default so you did not even have to say it in your example.
With the option --stage, you are specifying how that --cached state is shown. Normally we do not show the object name nor their merge stages, but we do when you give the --stage option.
Also look at the end of gitcli(7) documentation.