Hacker News new | ask | show | jobs
by rav 525 days ago
For move-branch: Use `git branch -f master HEAD~` if you're currently on another branch, or `git reset --soft HEAD~` if you're currently on master.