From: Bahadir Balban Date: Mon, 16 Jan 2006 13:57:03 GMT Subject: Cancelling certain commits Message-ID: <7ac1e90c0601160557r78599886nca9be9b6672a1bd7@mail.gmail.com> 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