1
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-07-06 00:13:52 +01:00
notes/content/github-force-detect-language.md

17 lines
243 B
Markdown

---
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
```