Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
z3dd
· 10mo ago · 0 comments
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.
Comments
[–]
recursive
10mo ago
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".