Hacker News new | ask | show | jobs
by jwilk 773 days ago
> I don't have a strong attachment at all to naming a branch "master" and can easily rename it without a second thought.

It's easy only if you don't care about all the people who already cloned your repo.

Recovering from remote repos renaming their default branches is no fun.

1 comments

And yet, branches disappearing is not uncommon. Changing your remote branch name is trivial, but being made aware of it is the problem. It's been a while since this change was done, but if it was still being proposed, the git client saying "oi, this branch changed name" and offering to update things would be a bit more user friendly.