Git Snippets

    Undo If you made a commit and did not push and want to change, use reset it will unstage the commit and your repo will be at the state prior to the commit. You can use reset with a hash or ~ back from head. git reset HEAD~1 If you want to completely undo the […]