Tag Archives: vcs

git: revert a single file to a specific revision

Turns out to be quite easy: Identify the hash of the revision you want to revert to, e.g. abc123 At the command prompt, type: git checkout abc123 path/to/file Why would I need to do this? Don’t ask But I definitely … Continue reading

Posted in Web development | Tagged , , , | Leave a comment