Tag Archives: git

Cherry pickin’

Oops. Made a change in the wrong branch of my git repository. Of course I knew there had to be an easy way of merging that one commit into the right branch, and there is. How to do it in … Continue reading

Posted in Web development | Tagged | Leave a comment

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