Skip to content

Instantly share code, notes, and snippets.

@toledorobia
Created January 5, 2018 15:23
Show Gist options
  • Save toledorobia/dce2f78cfd3c08b8f26b5bd30dd49d4a to your computer and use it in GitHub Desktop.
Save toledorobia/dce2f78cfd3c08b8f26b5bd30dd49d4a to your computer and use it in GitHub Desktop.
Git - Revert changes
# Revert modified files
git reset --hard
# Remove new files and folders
git clean -fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment