4 ms·
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.
by z3dd 9mo 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.
- recursive 9mo agoIn 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".