zlacker

[parent] [thread] 1 comments
1. jwilk+(OP)[view] [source] 2024-04-30 07:26:56
> 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.

replies(1): >>Cthulh+s6
2. Cthulh+s6[view] [source] 2024-04-30 08:32:15
>>jwilk+(OP)
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.
[go to top]