{"thread":{"id":"51061","subject":"config file not being copied from templates folder","startedAt":"2019-05-09T19:07:21Z","lastAt":"2019-05-10T10:29:55Z","messageCount":2,"participants":["Jack Zylkin","Duy Nguyen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"375252","messageId":"CACG5jMxnS1AR4YjuRu1woBKfrC+R-Fr9qbBK9L2L9D6Vfp9dig@mail.gmail.com","threadId":"51061","inReplyTo":null,"subject":"config file not being copied from templates folder","fromName":"Jack Zylkin","fromEmail":"jzylkin@gmail.com","sentAt":"2019-05-09T18:45:47Z","receivedAt":"2019-05-09T19:07:21Z","isPatch":false,"sender":{"key":"jzylkin@gmail.com","avatar":null},"body":"The “git init” documentation for the “Template Directory” states that:\n\n\n“Files and directories in the template directory whose name do not\nstart with a dot will be copied to the $GIT_DIR after it is created.”\n\n\nHowever, I put a file called “config” in this directory, and it was\nnot copied to the .git directory after running “git init”.  Instead\nthere is always the same old default config file there (and I don’t\nknow where this file comes from).\n\n\nI don’t know any other way of changing the default local config file\nused for new repos.  I really want to change this default config file\nbecause I want to use “symlinks=true” in all new repos, regardless of\nwhat git was told to do about symlinks when it was installed.\n\n\n(In my case, the chocolatey installer that installs git seems to\ndisable symlinks no matter what).\n\n-- \nJack Zylkin\n"},{"id":"375285","messageId":"CACsJy8C__PCufU2L9F0OWNa1WaXncWKKNp7x7HLUxHLhmUSqLw@mail.gmail.com","threadId":"51061","inReplyTo":"CACG5jMxnS1AR4YjuRu1woBKfrC+R-Fr9qbBK9L2L9D6Vfp9dig@mail.gmail.com","subject":"Re: config file not being copied from templates folder","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2019-05-10T10:29:26Z","receivedAt":"2019-05-10T10:29:55Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Fri, May 10, 2019 at 2:07 AM Jack Zylkin <jzylkin@gmail.com> wrote:\n>\n> The “git init” documentation for the “Template Directory” states that:\n>\n>\n> “Files and directories in the template directory whose name do not\n> start with a dot will be copied to the $GIT_DIR after it is created.”\n>\n>\n> However, I put a file called “config” in this directory, and it was\n> not copied to the .git directory after running “git init”.  Instead\n> there is always the same old default config file there (and I don’t\n> know where this file comes from).\n\nWhat version are you using? Seems to work for me.\n\n> I don’t know any other way of changing the default local config file\n> used for new repos.  I really want to change this default config file\n> because I want to use “symlinks=true” in all new repos, regardless of\n> what git was told to do about symlinks when it was installed.\n>\n>\n> (In my case, the chocolatey installer that installs git seems to\n> disable symlinks no matter what).\n-- \nDuy\n"}]}