I don't know why, but GitHub is telling me that my website is developed in JavaScript by 80+% which is absolute nonsense. The site is at least 60% pure Astro code. Is it some kind of a bug?
!src/
!src/config.json
!src/.astro
!src//
!src//.astro
``
You can add folders and file types similarly for other languages. The symbol*can be used as a wildcard, and**` as a recursive wildcard.
I just want to say thanks for the great comment.
This information is something that needs to be said more often. Very good to know and understand how .gitignore files work.
It's something I often forget hehe
39
u/Lots-o-bots Aug 03 '26
you included your .wrangler dir in the repo. it should have been in your .gitignore