Commit 6b74baea authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'docs-detectable-override' into 'master'

Document linguist overriding

See merge request gitlab-org/gitlab-ce!22386
parents bca25078 2ab65500
......@@ -166,7 +166,11 @@ minutes.
![Repository Languages bar](img/repository_languages.png)
Not all files are detected, among others; documentation,
vendored code, and most markup languages are excluded.
vendored code, and most markup languages are excluded. This behaviour can be
adjusted by overriding the default. For example, to enable `.proto` files to be
detected, add the following to `.gitattributes` in the root of your repository.
> *.proto linguist-detectable=true
## Compare
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment