1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-12-22 23:45:58 +00:00

Add note about linguist language detection

This commit is contained in:
Jake Howard 2020-10-01 18:55:26 +01:00
parent d76ac9becc
commit ffa74cb773
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -0,0 +1,16 @@
---
title: Force GitHub to detect a language
tags:
- GitHub
---
```gitattributes
*.md linguist-detectable=true
*.sql linguist-detectable=true
```
To force detection as a specific language:
```gitattributes
*.sql linguist-language=sql
```