1
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-07-05 23:03:53 +01:00
notes/content/github-force-detect-language.md

17 lines
243 B
Markdown
Raw Normal View History

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