LINUX.ORG.RU

История изменений

Исправление theNamelessOne, (текущая версия) :

Заигнорь HTML-файлы через .gitattributes (поддерживают globbing):

Use the linguist-generated attribute to mark or unmark paths that you would like to be ignored for the repository’s language statistics and hidden by default in diffs.

For example, to mark search/index.json as a generated file, add this line to .gitattributes:

search/index.json linguist-generated=true

Исходная версия theNamelessOne, :

Заигнорь HTML-файлы через .gitattributes (поддерживают globbing):

Use the linguist-generated attribute to mark or unmark paths that you would like to be ignored for the repository’s language statistics and hidden by default in diffs.

For example, to mark search/index.json as a generated file, add this line to .gitattributes:

search/index.json linguist-generated=true