Hacker News new | ask | show | jobs
by simcop2387 4572 days ago
In 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