Closed ruudk closed 1 year ago
Thanks, I'm aware this can be done and how and indeed wanted to do it for quite some time already but wasn't sure if any "tree/master" web links would be correctly redirected as I haven't seen that particular info published anywhere. Tried that on a different repository and seems that links are correctly redirected so I'll go ahead and rename the branch sooner or later.
master
branch renamed to main
. Users should see this notice:
Copy/paste:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
It's very easy and risk free. Go to https://github.com/spaze/phpstan-disallowed-calls/branches and click the edit icon next to the
master
branch.