How To Revert Commit Before Push
How To Revert Commit Before Push . Undo a single pushed commit with revert. $ git push mathnet +dd61ab32^:master. How to Undo in Git using SourceTree from www.attosol.com To undo a commit using the free gitkraken cli, you will use the git revert command in this fashion: Note that it only reverts that specific commit, and not commits that come after that. A shorter method is to run the command git revert 0a3d.