> If the wrong commit also contains other (needed) changes, mark it as
> "edit" in the rebase script and then, when the git stops after putting
> that commit's changes to the index, do `git rm --cached` for those
> files you don't want. Follow this by `git commit --amend -C ORIG_HEAD`
> and `git rebase --continue`.
Sorry, messed this up with the case when you undo the changes in the
staging area to have more fine-grained control on what to add; in the
case I explained plain `git commit --amend` should be done.
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to