GSConnect / gsconnect-ci

GSConnect CI Container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename 'master' branch in CI repo

ferdnyc opened this issue · comments

The default branch name master has fallen out of favor, for valid reasons, and GitHub has made it as easy as possible to adopt the new preferred name, main. Renaming the branch in the existing repos will turn the old name into an API and web redirect, so all of the automation and etc. that still uses the old name should continue to work normally. That stuff is actually best updated after the rename.

Seems like a good idea and has my thumbs up. Let me know if you need extra permissions to make the change!

Nope, it appears I have that power in both repos. (In fact, I'm a bit disconcerted, almost, after finding this table in The Other Repo™:)

image

I assume "Mixed roles" is representative of your & Sonny's admin status in the Organization, which trumps the repo, and therefore means that I couldn't really stage a repo coup by virtue of being (ostensibly) the sole admin. Still, if I were the type to go power-mad, rather than being completely intimidated by it, that might be cause for concern. 🙄

Anyway, assuming @sonnyp (or anyone else) doesn't have any objections, it appears I'm all good to do it to it. But I'll hold off a day or two, give people a chance to weigh in.

commented

Go for it 👍

Rename done here, please run the following commands in your local check-out:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a