I currently have three modified files in my working directory. However I want one of them to be reset to the HEAD status.
https://stackoverflow.com/questions/7147270/hard-reset-of-a-single-file
git checkout HEAD -- my-file.txt
No comments:
Post a Comment