Create a commit that will revert a branch (say master) to an earlier state. ```sh PARENT=$(current branch) git reset --mixed REF git reset --soft PARENT git commit -m "Reverting to state at $PARENT" g reset ```
Create a commit that will revert a branch (say master) to an earlier state.