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?
Do you have an example of how you would do this? I have repos that I have to commit both source TS and SCSS and their compiled JS and CSS, but Iโd prefer the latter be ignored in some cases because itโs essentially counting the same code twice. Could gitattributes allow me to fix that somehow?
View all comments
Show parent comment
2
u/pixelboots Aug 03 '26
Do you have an example of how you would do this? I have repos that I have to commit both source TS and SCSS and their compiled JS and CSS, but Iโd prefer the latter be ignored in some cases because itโs essentially counting the same code twice. Could gitattributes allow me to fix that somehow?