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