git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Suggestion: Enhance git init with Language-Specific Templates
@ 2025-03-04 11:49 Tech Kenya
  2025-03-05 22:43 ` brian m. carlson
  0 siblings, 1 reply; 7+ messages in thread
From: Tech Kenya @ 2025-03-04 11:49 UTC (permalink / raw)
  To: git@vger.kernel.org


[-- Attachment #1.1: Type: text/plain, Size: 1002 bytes --]



I would like to propose an enhancement to git init that allows users to specify a language or framework when initializing a repository, automatically applying an appropriate .gitignore template.

Proposal

Introduce a flag to git init that enables users to initialize a repository with a predefined .gitignore based on the project's language or framework. For example:

git init --golang
git init --python
git init --node

This would generate a .gitignore file using well-established templates, such as those from Toptal's Gitignore Generator https://www.toptal.com/developers/gitignore/ or GitHub's official .gitignore repository.

Benefits

Improves Developer Experience: Eliminates the manual step of searching for and adding a .gitignore file.

Standardization: Ensures that best-practice .gitignore files are consistently applied.

Saves Time: Reduces setup time, especially for new projects.

Let me know if further details or discussions are needed.

Tech Kenya




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 322 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-06  0:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04 11:49 Suggestion: Enhance git init with Language-Specific Templates Tech Kenya
2025-03-05 22:43 ` brian m. carlson
2025-03-05 22:50   ` rsbecker
2025-03-05 22:52   ` Junio C Hamano
2025-03-05 23:53     ` Oleg Taranenko
2025-03-05 23:56       ` Junio C Hamano
2025-03-06  0:04         ` Oleg Taranenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).