git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Can git change?

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 22, 2021, 18:46 UTC
Message-ID
<xmqqpn1w95dj.fsf@gitster.c.googlers.com>
In-Reply-To
<CAP8UFD0fZBdZ6qwDP9_yW7VAfskTKPC7HVSpK4rD=bORuECpJA@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
Show 23 quoted lines
> Hi,
>
> On Fri, Jan 22, 2021 at 2:05 PM Patricia B. C. <pati.camsky@gmail.com> wrote:
>>
>> Hello!
>> My name is Patricia and I work as a software engineer in Brazil. I
>> also teach sometimes at Le Wagon, a programming school.
>> I brought the discussion about changing our repositories' branch to
>> main instead of master. The response of one of the owners was that
>> "Git has not changed it, so we will not change". So here I was,
>> wondering if maybe Git would hear me out :)
>> Do you have any thoughts on it?
>
> There have been a lot of discussions about this topic. You can find
> some pointers to them (though maybe not the most recent ones) in the
> article "The history of `master` in Git" in:
>
> https://git.github.io/rev_news/2020/07/29/edition-65/
>
> There has been also an official statement by the Conservancy and the
> Git PLC (Project Leadership Committee):
>
> https://sfconservancy.org/news/2020/jun/23/gitbranchname/

I got an impression that Patricia wanted to follow what we do to this project, but AFAIU, both of the above are about what Git does to help end-user projects to rename. They do not talk about what branch this project uses.

A much more relevant direct reference is the brian's assessment for us to switch in Edition 65, plus the test clean-up series from Dscho.

Having said all that, imitating what we do to our project may probably not be a good idea. We have done, and we will do in the future, experimental things, some of which may turn out to be bad ideas [*1*]. The users are probably better off imitating projects with larger developer base.

[Footnote]
*1* subtree merging of gitk and git-gui, for an example, and having
    an octopus merge in the history is another.
Previous: Christian CouderNext: Martin von Zweigbergk
Message 3 of 12 in “Can git change?”
  1. Patricia B. C.Jan 22, 2021
  2. Christian CouderJan 22, 2021
  3. Junio C HamanoJan 22, 2021
  4. Martin von ZweigbergkJan 22, 2021
  5. Junio C HamanoJan 23, 2021
  6. RES: Can git change?Patricia B. C., Jan 23, 2021
  7. Johannes SchindelinJan 25, 2021
  8. Junio C HamanoJan 26, 2021
  9. Patricia B. C.Jan 26, 2021
  10. Daniel GruessoMar 9, 2021
  11. Johannes SchindelinMar 10, 2021
  12. Junio C HamanoMar 10, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.