Re: seperate commits for objects already updated in index?

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

 



On Tue, 14 Mar 2006, Linus Torvalds wrote:

The simplest thing to do is to do

	git reset

to reset your index back to your HEAD (but obviously DON'T use the "-f"
flag, which will also force the working tree!).

Ah, of course! (I knew I was being dumb ;) ).

Then you can just do

	git commit -o bar

and everything should be fine, because then git doesn't think you're doing
something insane.

Yep, thank you!

regards,
--
Paul Jakma	paul@xxxxxxxx	paul@xxxxxxxxx	Key ID: 64A2FF6A
Fortune:
The less a statesman amounts to, the more he loves the flag.
		-- Kin Hubbard
-
: 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]