How do I reset one working file, but leave the index alone? git checkout file does not do that (it appears to do nothing), nor does git checkout -- file.
To clarify, I've edited a file, then added it to the index. I now want to leave the change in the index, but reset the working file to the checked-in version. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.