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

Re: [External] Document ability to disable template directory in git-init

From
BKBoris Kolpackov <boris@codesynthesis.com>
Date
Jul 4, 2025, 10:33 UTC
Message-ID
<boris.20250704123013@codesynthesis.com>
In-Reply-To
<CAG1j3zEiD341X-_ZdR2puaEmZZ0ZBWSmyboyyGZaDXcDTcmAeA@mail.gmail.com>
Han Young <hanyang.tony@bytedance.com> writes:
Show 5 quoted lines
> Digging through the changelog, I think the feature is added in v1.5.6.4:
> 
>  "git init --template=" with blank "template" parameter linked files
>  under root directories to .git, which was a total nonsense.  Instead, it
>  means "I do not want to use anything from the template directory".

Thanks for digging this up. So in a sense this is an obscurely- documented behavior that people could reasonably choose to rely upon. I think only more reason to document this more prominently.

Previous: Han YoungNext: Todd Zullinger
Message 3 of 7 in “Document ability to disable template directory in git-init”
  1. Boris KolpackovJul 3, 2025
  2. Han YoungJul 4, 2025
  3. Boris KolpackovJul 4, 2025
  4. Todd ZullingerJul 4, 2025
  5. Jeff KingJul 6, 2025
  6. Kristoffer HaugsbakkJul 4, 2025
  7. Kristoffer HaugsbakkJul 4, 2025

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.