6 Ways to Undo Changes in Git

from blog Aleksandr Hovhannisyan, | ↗ original
When things go wrong, don't panic. Here are a few ways you can undo changes in git and clean up your commit history.