.gitattributesfile. Say I have a
publicfolder which contains documentation or support files which I wanted to ignore, then the
.gitattributesfile will look like below.
public/js/libs/* linguist-vendored public/* linguist-documentationYou can add
linguist-documentationto ignore the files from counting. You can see the difference in the language statistics bar of your repository.