Skip to content

Commit

Permalink
Add file .git-blame-ignore-revs
Browse files Browse the repository at this point in the history
This file contains hashes of commits that should be ignored with
'git ignore'.

You can ignore commits specified there automatically by running
$ git config blame.ignoreRevsFile .git-blame-ignore-revs
  • Loading branch information
m-horky committed Mar 24, 2022
1 parent 7b326fa commit b9bd5a7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# git blame ignore list
#
# This file contains git hashes of commits to be ignored by git blame.
# These commits are considered not important (in means of "they don't
# change any code logic/abstract syntax tree").
#
# - Only large global changes should be added to this list.
# - Add comment above every commit hash, preferably with timestamp,
# author and commit title.
# - Append new hashes to the bottom; keep the list chronological.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ PYTHONPATH=./src python -m subscription_manager.scripts.rct

(You can also just export `PYTHONPATH` instead of setting it in each command).

To ignore bulk commits that only change the format of the code, not the code
itself (e.g. `black`ing whole codebase), add `.git-blame-ignore-revs` to your
git configuration:

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

Pipenv
------

Expand Down

0 comments on commit b9bd5a7

Please sign in to comment.