From: Junio C Hamano Date: Wed, 05 Mar 2025 23:56:53 GMT Subject: Re: Suggestion: Enhance git init with Language-Specific Templates Message-ID: In-Reply-To: Oleg Taranenko writes: > On Wed, 5 Mar 2025 at 23:53, Junio C Hamano wrote: > >> I wouldn't have thrown objects in the --template directory, and I >> wouldn't count on things outside what the mechanism was invented for >> (namely, .git/hooks and possibly .git/info/ files) would forever be >> copied in newer versions of Git, but certainly "git init --template" >> mechanism sounds like a good escape hatch than mucking with Git code >> base to teach it myriad of languages and their dialects. > > It sounds like creating a copy of the .gitignore structure requires > the user to learn bash script syntax. :-D I'd like to suggest adding > one more option to the init --template