Fix language detection on Github


Github shows the programming language(s) used in a repository. If you include dependencies, those can sometimes be larger than the actual code and throw off the algorithm.

The fix is pretty simple: add a .gitattributes file in the root of the repo with a line for each directory with dependencies:

static/* linguist-vendored

source

Date: 2022-01-29

Tags:  git

Share: