git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cancelling certain commits
@ 2006-01-16 13:57 Bahadir Balban
  2006-01-16 14:22 ` Andreas Ericsson
  0 siblings, 1 reply; 4+ messages in thread
From: Bahadir Balban @ 2006-01-16 13:57 UTC (permalink / raw)
  To: git

Hi,

If I'm not happy with the changes I made in certain commits during
development, how do I cancel those commits and remove them from git
records most cleanly?

For example if I did commits 1 to 10, and want to get rid of commit 3
and 7, such that, the other commits are irrelevant to changes made in
3 and 7, but may involve changes in the same file as 3 and 7 changed,
how do I handle it?

Furthermore, how would I handle it if there was a commit 4, that
depended partially on commit 3? (For example if it uses a type that
was changed in commit 3?) Would I hand-edit commit 4 to fix it?

Many thanks,
Bahadir

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-17 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16 13:57 Cancelling certain commits Bahadir Balban
2006-01-16 14:22 ` Andreas Ericsson
2006-01-16 23:43   ` Junio C Hamano
2006-01-17 10:03     ` Andreas Ericsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).