Skip to content

Commit

Permalink
style: let git blame ignore black and isort only commits
Browse files Browse the repository at this point in the history
I listed large commits that only change style, by applying black and/or
isort, but no contents, into .git-blame-ignore-revs, that way GitHub's
blame view automatically ignores then, and the CLI git blame can also
ignore them with the option `--ignore-revs-file=.git-blame-ignore-revs`.
  • Loading branch information
joanise committed Nov 4, 2022
1 parent 2712b32 commit 56896de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
9c26df474a70543588e4f8b3ce7d56a36f475da4
cd3165733bbb5cd21b28aa2a3115cc13887dfa90
9b156b87b63f6ff3c337c3e82ec1ecc45a2af03a
d6ae834863d309cd05096d32c7237eea35e21615
ce0a4b1b2aca9c3e3dcb09dc473c44e9014cc103
1fa3d9d34b4087c44047df64fb0f936db73cb09f

0 comments on commit 56896de

Please sign in to comment.