Skip to content

Commit

Permalink
Formatting: Add .git-blame-ignore-revs
Browse files Browse the repository at this point in the history
Add `.git-blame-ignore-revs`, with the previous code formatting commit.
It allows git blame tools to ignore the specified commits.

Command to configure it:
`git config blame.ignoreRevsFile .git-blame-ignore-revs`

(cherry picked from commit 9eac339)
  • Loading branch information
abonnaudet-ledger committed Sep 18, 2023
1 parent d32d957 commit ec675c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Run this command to always ignore formatting commits in `git blame`
# git config blame.ignoreRevsFile .git-blame-ignore-revs

# Formatting commit
d32d95708a4b5329fbfc824e4d1a34fa98b456a6

0 comments on commit ec675c3

Please sign in to comment.