Comment on On undoing, fixing, or removing commits in gitparentComments−simcop238712yIn the interest of making this easier: git branch branchname-backup #do dangerous stuff ... # whoops I just broke the branch really bad I'll start over git reset branchname-backup
Comments
In the interest of making this easier: