Moving from master
to main
branch name convention across all Public Lab projects
#8077
Closed
28 tasks done
Labels
Hi, all! We've been in the midst of a years-long series of migrations from using a branch called
master
as default tomain
, and although we've succeeded for many of our repositories (https://github.com/publiclab/mapknitter/, https://github.com/publiclab/spectral-workbench/, for example, full list at bottom), we haven't done theplots2
repo yet. This is important because of the racist connotations of the termmaster
.One complicating issue that's slowed us in the past is that it requires re-assigning all PRs to the new default branch. But there is now (recently) a feature for this in GitHub:
Let's start this process -- I've just reassigned the default to
main
and we should be able to re-assign all PRs accordingly. We're planning to begin this next week.Thanks, all!
UPDATING LOCAL CLONES
(via this link, thanks!)
If someone has a local clone, then can update their locals like this:
The above steps accomplish:
Note: dependabot auto-repoints its own PRs, actually, and if main and master are synced, no Travis re-runs are needed.
Note: protected branches need reconfig each time!
This is done for several, including:
main
branch instead ofmaster
PublicLab.Editor#535 (see for example issue to open on each)The text was updated successfully, but these errors were encountered: