1
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-06-29 05:46:59 +01: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
```