Re: how to make a commit only contain existing files

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

 



On Tue, 7 Dec 2010, Jeff King wrote:

On Tue, Dec 07, 2010 at 01:00:18PM -0800, david@xxxxxxx wrote:

I know that I can do a git rm to explictly remove files, but is there
an easy way to just say that this commit should contain all the files
that exist at this point in time, without carrying over any files
that were in a prior commit but that don't exist now?

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.

Thanks.

David Lang
--
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]