<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The git commands work great, but it leaves a `remotes/origin/HEAD` pointing to the (now-deleted) 'remotes/origin/master'. This triggers a warning if you try to do some housecleaning of the dangling `origin/master` using the `git remote prune origin` command. You need to run 2 more commands if you want a pristine local repo that's equivalent to doing a fresh 'git clone`:<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">$ git remote set-head origin -a # automatically determine default, which will be `origin/main`</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">$ git remote prune origin # remove `origin/master` from the local repo</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Personally, I'm not convinced that GitHub's push for this rename will make a meaningful difference for the underlying social problem, but this is not too much work either. Though I had to do it for 5 laptops, and this broke 3 of my continuous integration scripts... but  nothing major.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Brian<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 16, 2021 at 6:41 PM Paul Eggert via tz <<a href="mailto:tz@iana.org">tz@iana.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Because the word "master" has negative connotations in English, I <br>
renamed the "master" branch to "main" in the tzdb development repository <br>
<<a href="https://github.com/eggert/tz" rel="noreferrer" target="_blank">https://github.com/eggert/tz</a>>. This follows in the wake of GitHub's <br>
October change that makes the default branch "main" rather than <br>
"master", and GitHub's followup changes in January that made renaming <br>
relatively painless - for example, web requests for "master" are now <br>
redirected to "main" automatically <br>
<<a href="https://github.com/github/renaming/" rel="noreferrer" target="_blank">https://github.com/github/renaming/</a>>. This renaming by GitHub is part <br>
of a broader change within the Git software ecosystem <br>
<<a href="https://sfconservancy.org/news/2020/jun/23/gitbranchname/" rel="noreferrer" target="_blank">https://sfconservancy.org/news/2020/jun/23/gitbranchname/</a>>.<br>
<br>
This change affects neither past nor future releases of tzdb. It affects <br>
only the small number of direct accesses to the development repository <br>
for commits between releases. The idea is that on balance the small <br>
inconvenience for developers is outweighed by the advantage in reducing <br>
insensitivity overall.<br>
<br>
If you are a developer with a local clone of the tzdb repository, please <br>
adjust to this change by running the following shell commands:<br>
<br>
$ git branch -m master main<br>
$ git fetch origin<br>
$ git branch -u origin/main main<br>
<br>
I've done this for my own local clone of the repository.<br>
<br>
To document this change for tzdb newcomers, I installed the attached <br>
patch to the CONTRIBUTING file just before renaming the branch.<br>
</blockquote></div>