Skip to content

Commit

Permalink
Add .git-blame-ignore-revs, and docs on how to use it
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamalama committed Jan 24, 2024
1 parent 099cf36 commit 09076ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Run prettier after installing @trivago/prettier-plugin-sort-imports
f993f8379304ce0f44cae0bd4b76b004aa1caa30
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ Install packages:
$ cd kinto-admin && npm install
```

Optionally, configure `git` to use `.git-blame-ignore-revs` to remove noisy commits (e.g. running `prettier` on the entire codebase) from `git blame`:

```
git config blame.ignoreRevsFile .git-blame-ignore-revs
```

After installation of packages, run the development server.

## Development server
Expand Down

0 comments on commit 09076ff

Please sign in to comment.