working-tree

Git: how to reset a working file to its index version?

The problem is the following: how to fetch a few files from a previous commit in git? I could get the files one by one and replace them by their old version: git show <commit>:<path> >! path However, I would like to know whether there is a different way of performing the same thing, possibly with git reset. In fact, I gather that ...