Using git, I have a local commit to which I accidentally added a patch. I would 
like to remove that patch now, and create a separate commit for that patch. I 
have not yet pushed my changes to origin.

I have been unable to find how to do this on Google. I can easily remove a 
patch from the index (git reset), but what about a patch that's already been 
committed? I've tried "git rebase -i HEAD^", which lets me amend and squash 
prior commits, but what about splitting a commit into two?

Thanks.

--Dave

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to