Is there a way to ignore calculating language statistics for a directory on Github? -
i creating lot of small experimental game projects in lua include framework written in c, dominates code percentages , declares project being in c when not.
i want keep framework, allows me add on playable version of game.
i partially familiar concept of removing language statistics on file, there way omit directory?
i have seen answers link this answer new github don't quite know how decipher it.
to ignore files particular directory when computing statistics, can use following .gitattributes:
your/framework/directory/* linguist-vendored if think framework common enough through github.com, can make pull request linguist add list of ignored directories. way, won't need ignore on per-repository basis.
Comments
Post a Comment