Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Commits that only reformat code, which `git blame` can skip. GitHub's blame view reads
# this file automatically; to use it locally, run
# `git config blame.ignoreRevsFile .git-blame-ignore-revs` once in your clone.

# Format the code with rustfmt (#17)
68a23f1d4cdc5b90c81ff751f1c70bfb854b39fd
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ rustup target add wasm32-unknown-unknown
trunk serve --release --open
```

To make `git blame` skip commits that only reformat code, as GitHub's blame view does,
run `git config blame.ignoreRevsFile .git-blame-ignore-revs` once in your clone.

## Checks your change must pass

CI runs these on every pull request. Running them locally first saves a round trip:
Expand Down
Loading