Hacker News new | ask | show | jobs
by z3dd 154 days ago
why copy anything at all? you just need to preserve the head and that's it. As simple as `git branch bkp` and that's all.
1 comments

In order for that to work you need some level of confidence that rebase doesn't mess with your branch. Rebase has a reputation for "rewriting history".