Create .git-blame-ignore-revs (#2254)

* Create .git-blame-ignore-revs

* docs: add note about `.git-blame-ignore-revs`

Co-authored-by: Nate Moore <nate@skypack.dev>
This commit is contained in:
Jonathan Neal 2022-01-07 18:02:37 -05:00 committed by GitHub
parent 69af658b00
commit 35e0a22f26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

2
.git-blame-ignore-revs Normal file
View file

@ -0,0 +1,2 @@
# Switch to tabs (Use Accessible Indentation #2253)
6ddd7678ffb6598ae6e263706813cb5e94535f02

View file

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