From a64dca33e340b2d40dbd66f331b23894cccdadc8 Mon Sep 17 00:00:00 2001 From: Jonathan Neal Date: Wed, 22 Dec 2021 16:14:55 -0500 Subject: [PATCH 1/2] Create .git-blame-ignore-revs --- .git-blame-ignore-revs | 2 ++ 1 file changed, 2 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 000000000000..a3185bbac965 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Switch to tabs (Use Accessible Indentation #2253) +6ddd7678ffb6598ae6e263706813cb5e94535f02 From a7476e695bae94d9414f01d5b39a77d33b88df0a Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Wed, 5 Jan 2022 12:13:39 -0600 Subject: [PATCH 2/2] docs: add note about `.git-blame-ignore-revs` --- CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 162966a0c4e3..26bbab20cfb5 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