From 1a10900fb3dd7af7257874b5dd02a1ba55b6b568 Mon Sep 17 00:00:00 2001 From: Practicalli Engineering Date: Sat, 9 Mar 2024 13:37:47 +0000 Subject: [PATCH] dev: set markdown as repository language with `.gitattributes` Add `.gitattributes` file to configure GitHub Linguist to only consider `.md` Markdown files Linguist should ignore other file types --- .gitattributes | 6 ++++++ .gitignore | 1 + CHANGELOG.md | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..22058868a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Configure Languages for GitHub repository using Linguist + +# ignore all files, except for markdown +* linguist-vendored +*.md linguist-vendored=false + diff --git a/.gitignore b/.gitignore index 51bd74ea1..ee3e61b03 100644 --- a/.gitignore +++ b/.gitignore @@ -21,5 +21,6 @@ # ------------------------ # Version Control !.gitignore +!.gitattributes !.github/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 730434fd2..c45700bff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog # Unreleased +## Added +- dev: set markdown as repository language with `.gitattributes` + ## Changed - clojure-cli: enhance built-in commands description - code-challenge: rewrite code challenges overview