Re: [Census] So who uses git?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 31, 2006, 19:52 UTC
- Message-ID
- <7v7j8gyy2w.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <1138736666.24410.38.camel@cashmere.sps.mot.com>
Jon Loeliger <jdl@freescale.com> writes:
Show 7 quoted lines
> I have done this style of "update-index on more-or-less OK > files in order to clear up the diff. And it is also in that > time frame that I start feeling that certain changes belong > to "one commit" or another. The result is, I want to then > pick the parts that get committed together. But _really_ > being certain exactly which files, and _only_ those files, > will really be committed is tough.
$ git diff --cached
would help. If you are _only_ comitting either all changes or no change per path, 'git diff --cached --name-status' would be sufficient.