From 35e0a22f2670805d4f4123c010a16ffdf0cba3c0 Mon Sep 17 00:00:00 2001 From: Jonathan Neal Date: Fri, 7 Jan 2022 18:02:37 -0500 Subject: [PATCH] Create .git-blame-ignore-revs (#2254) * Create .git-blame-ignore-revs * docs: add note about `.git-blame-ignore-revs` Co-authored-by: Nate Moore --- .git-blame-ignore-revs | 2 ++ CONTRIBUTING.md | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000000..a3185bbac9 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Switch to tabs (Use Accessible Indentation #2253) +6ddd7678ffb6598ae6e263706813cb5e94535f02 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 162966a0c4..26bbab20cf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,6 +25,12 @@ yarn install yarn build ``` +In [#2254](https://github.com/withastro/astro/pull/2254) a `.git-blame-ignore-revs` file was added to ignore repo-wide formatting changes. To improve your experience, you should run the following command locally. + +```shell +git config --local blame.ignoreRevsFile .git-blame-ignore-revs +``` + ### Development ```shell