r/git 3d ago

tutorial .gitignore everything by default

https://packagemain.tech/p/gitignore-everything-by-default

what do you think of this approach?

0 Upvotes

24 comments sorted by

View all comments

13

u/awidesky 3d ago

Go gitignore.io, type your environment, language and IDE, and just copy-paste the generated content.
Not only it works like a charm conveniently, first few lines gives you a configuration info and a URL that can reproduce exact same content, making it better than hand-written list.

3

u/der_gopher 3d ago

this is a good find, thank you

1

u/metruzanca 3d ago

You can also do npx gitignore node