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
Written by Oswaldo Ferreira
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Commands
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#