Re: how to list all files that will be comitted

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

 



Rhodes, Kate venit, vidit, dixit 25.06.2008 17:31:
I know ls-files is the tool I need but I haven't been able to figure out what combination of options will give me the files that have been added to the index.

I don't think git ls-files does that, but

git diff --cached --name-only

will.

Cheers,
Michael

--
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