Saturday, March 2, 2019

Don't git revert that last commit, git reset instead - TheServerSide.com

Don't git revert that last commit, git reset instead  TheServerSide.com

If you git revert the last commit, you're doing version control wrong. Use git reset --hard instead. It's the choice that makes sense in most scenarios.