[DISCUSS] Rename 'master' branch to 'main'

6 views
Skip to first unread message

Julian Hyde

unread,
Oct 29, 2021, 2:39:38 PM10/29/21
to sqlline-dev
I propose to rename the 'master' branch to 'main'. 'Main' is the
default name for new GitHub repositories [1], and over time 'master'
will start to become anachronism.

I have converted several repositories already, and the process is
straightforward. It takes a few seconds for each client [2].

Julian

[1] https://github.com/github/renaming

[2] https://gist.github.com/julianhyde/79a733e524d0d4f09f51dcbf78128821

Sergey Nuyanzin

unread,
Oct 29, 2021, 2:56:50 PM10/29/21
to Julian Hyde, sqlline-dev
+1 for renaming  to main

--
You received this message because you are subscribed to the Google Groups "sqlline-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlline-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sqlline-dev/CAPSgeEQ%2Bo_099WCTUJMm9JrmBsUhK_MAz%3DEUT%2BdOKvtDU3JTTw%40mail.gmail.com.


--
Best regards,
Sergey

James Turton

unread,
Oct 29, 2021, 3:02:36 PM10/29/21
to Sergey Nuyanzin, Julian Hyde, sqlline-dev

Julian Hyde

unread,
Oct 29, 2021, 7:07:30 PM10/29/21
to sqlline-dev
Ok, it's done. For each of your local clones, execute the following commands:

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

See https://github.com/julianhyde/sqlline/issues/453.

Julian
> To view this discussion on the web visit https://groups.google.com/d/msgid/sqlline-dev/CAAJcS0R%3D0he1nWAO4n7qttO3_JjEnQ_N8mQG0Wm_4GwKB1MinQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages