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 
https://groups.google.com/d/msg/git-users/-/-jSDM6GoYU8J.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to