Skip to content

Instantly share code, notes, and snippets.

@zaqmor
Created October 1, 2018 21:30
Show Gist options
  • Save zaqmor/9a017e8a5a28ad8fca58994ad684af88 to your computer and use it in GitHub Desktop.
Save zaqmor/9a017e8a5a28ad8fca58994ad684af88 to your computer and use it in GitHub Desktop.
GIT revert select files
git checkout [commit-sha]~1 -- \path\to\file1.txt \path\to\file2.txt \path\to\file3.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment