Re: Call Me Gitless

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Alexander E Genaud" <alex@xxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux