Created
January 5, 2018 15:23
-
-
Save toledorobia/dce2f78cfd3c08b8f26b5bd30dd49d4a to your computer and use it in GitHub Desktop.
Git - Revert changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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