$ git checkout HEAD -- <path>

ref: https://stackoverflow.com/questions/15404535/how-to-git-reset-hard-a-subdirectory

Categories: linux

0 Comments

Leave a Reply

Your email address will not be published.