Last Updated: February 25, 2016
·
290
· oswaldoferreira

Mastering GIT commands

Reset unpushed commits and doesn't generates a new commit.

git reset --hard <commit, branch, tag>

Reset but generates a new commit.

git revert