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

Re: dotfiles in git template dir are not copied

From
Grégoire PARIS <postmaster@greg0ire.fr>
Date
Feb 17, 2017, 22:37 UTC
Message-ID
<9894f34a-d362-7741-b5b8-3743fe8f4e0b@greg0ire.fr>
In-Reply-To
<xmqqmvdkqxfd.fsf@gitster.mtv.corp.google.com>
 > I do not think we should change the behaviour
 > to copy files whose names begin with a dot.
So bug turned feature it is :)
I amended my commit message accordingly.

In my case, my template dir is not at the root of the repository where it is versioned, so it would not be a problem for me, but I think some people might use this feature to add tests/docs without having them copied.

my template dir repository : https://github.com/greg0ire/git_template
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 12 in “dotfiles in git template dir are not copied”
  1. greg0ireFeb 17, 2017
  2. Jeff KingFeb 17, 2017
  3. Grégoire PARISFeb 17, 2017
  4. Junio C HamanoFeb 17, 2017
  5. Grégoire PARISFeb 17, 2017
  6. Junio C HamanoFeb 17, 2017
  7. Grégoire PARISFeb 17, 2017
  8. Philip OakleyFeb 17, 2017
  9. Grégoire PARISFeb 17, 2017
  10. Junio C HamanoFeb 17, 2017
  11. Grégoire PARISFeb 17, 2017
  12. Grégoire PARISFeb 17, 2017

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.