diff --git a/notes/github-force-detect-language.md b/notes/github-force-detect-language.md new file mode 100644 index 0000000..3059a37 --- /dev/null +++ b/notes/github-force-detect-language.md @@ -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 +```