firstval
11/1/2015 - 3:06 PM

all git tutors

all git tutors

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/