From: Junio C Hamano Date: Tue, 19 Aug 2008 18:15:55 GMT Subject: Re: Call Me Gitless Message-ID: <7v4p5gdg6c.fsf@gitster.siamese.dyndns.org> In-Reply-To: "Alexander E Genaud" writes: > 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.