Re: how to list all files that will be comitted
- From
Michael J Gruber <michaeljgruber+gmane@fastmail.fm>
- Date
- Jun 25, 2008, 16:19 UTC
- Message-ID
- <g3tr63$fqn$1@ger.gmane.org>
- In-Reply-To
- <644094BE-2835-41EF-B1B4-615B8A4BD509@gmail.com>
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