Last active
November 1, 2015 15:32
-
-
Save firstval/a6c0aabf7e591a918f42 to your computer and use it in GitHub Desktop.
all git tutors
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
| git revert HEAD^ --> for reverting to the next-to-last commit | |
| git checkout -f --> to recover all files that not commit | |
| git reset --hard --> remove newly added contents and files which are already staged | |
| git reset --hard HEAD^ --> remove your latest commit | |
| git clean --force -d --> To remove the untracked files | |
| https://help.github.com/articles/generating-ssh-keys/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment