Last Updated: February 25, 2016
·
461
· 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