I am using tortoise git to operate our git repository on my local machine. However, when I am logged in on a linux machine (ssh) somewhere else, I have to operate git on console.
Locally I use often git tortoise to revert single files to the last commit. What is the corresponding command on console? git revert >commit< reverts the whole repo batch. git revert >file< does not work.