Skip to content

Commit

Permalink
Add .git-blame-ignore-revs file
Browse files Browse the repository at this point in the history
Add the file to allow everyone to ignore certain revs when looking at
git blame. Setting this up requires running

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

once on the repo after clone.
  • Loading branch information
Roman Inflianskas committed Mar 18, 2022
1 parent ba9680f commit b19a64a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Since version 2.23 (released in August 2019), git-blame has a feature
# to ignore or bypass certain commits.
#
# This file contains a list of commits that are not likely what you
# are looking for in a blame, such as mass reformatting or renaming.
# You can set this file as a default ignore file for blame by running
# the following command.
#
# $ git config blame.ignoreRevsFile .git-blame-ignore-revs

# 2.14.8-9-gba9680f: Use Black code formatter
ba9680fbdeebc0e91d481518424d2c2ed5c92112

0 comments on commit b19a64a

Please sign in to comment.