{"thread":{"id":"60472","subject":"git init --initial-branch (should docs mention v2 protocol)","startedAt":"2023-11-05T23:17:20Z","lastAt":"2023-11-05T23:17:20Z","messageCount":1,"participants":["Sheik"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"484445","messageId":"9f17f398-83fa-4789-ace7-9230834519d3@gmail.com","threadId":"60472","inReplyTo":null,"subject":"git init --initial-branch (should docs mention v2 protocol)","fromName":"Sheik","fromEmail":"sahibzone@gmail.com","sentAt":"2023-11-05T23:17:15Z","receivedAt":"2023-11-05T23:17:20Z","isPatch":false,"sender":{"key":"sahibzone@gmail.com","avatar":null},"body":"Hi Maintainers,\n\n\nCurrently it is not obvious from the docs that (git init \n--initial-branch) needs v2 protocol setup on ssh server for (git clone) \nto work properly with unborn refs, as seen in this email thread\n\n 1. https://lore.kernel.org/git/63eb269e-72b9-4830-98fc-aeef8b8180d7@gmail.com/T/#u\n\n\nShould a link to the v2 protocol documentation be added in \"git init \n--initial-branch\" to make this configuration more obvious for admins/users?\n\n 1. https://git-scm.com/docs/git-init#Documentation/git-init.txt---initial-branchltbranch-namegt\n 2. https://git-scm.com/docs/gitprotocol-v2\n\n\n[System Info]\ngit version:\ngit version 2.42.0\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 6.5.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.6-1 \n(2023-10-07) x86_64\ncompiler info: gnuc: 13.2\nlibc info: glibc: 2.37\n$SHELL (typically, interactive shell): /bin/bash\n\n\n[Enabled Hooks]\nnot run from a git repository - no hooks to show\n\n\nThanks\n\nSheik\n\n\n"}]}