Git-reset Index Page 1
Different ways to revert git repository commit
To undo last commit not pushed try: git reset --soft HEAD~1. To undo last commit pushed use: git revert HEAD~1. Check this tutorial for more examples!
To undo last commit not pushed try: git reset --soft HEAD~1. To undo last commit pushed use: git revert HEAD~1. Check this tutorial for more examples!