Re: how to make a commit only contain existing files
- From
Jeff King <peff@peff.net>
- Date
- Dec 8, 2010, 03:39 UTC
- Message-ID
- <20101208033910.GA4065@sigill.intra.peff.net>
- In-Reply-To
- <alpine.DEB.2.00.1012071652160.662@asgard.lang.hm>
On Tue, Dec 07, 2010 at 04:52:48PM -0800, david@lang.hm wrote:
> >Won't "git add -A; git commit" do what you want? > > it very well may, I'll have to upgrade git on that box to a version > that supports it.
It was introduced in 1.6.0. If you have something older, "git add -u && git add ." will do the same thing.
-Peff