Thanks a lot everyone.
Finally figured it out.
I think that the following command sequence will do the trick:
cp file file.unstaged
git co file
git commit file
mv file.unstaged file
I'll try to do a wrapper (`git-commit-staged' for example) and extend it on
the case of multiple files.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at