Skip to content

Commit

Permalink
Ignore code formatting from git history
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Nov 16, 2023
1 parent a56b04d commit 561f59e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Add all the commits you would like to be omitted from the `git blame` output here.
# Add one commit per line and a comment with the reason for the omission.

# In order to use this file, you either need to add it to your config:
# git config blame.ignoreRevsFile .git-blame-ignore-revs
# or pass it as an argument to `git blame`:
# git blame --ignore-revs-file .git-blame-ignore-revs <file>

# To remove the settings from your config:
# git config --unset blame.ignoreRevsFile
# or pass the --ignore-revs-file option with an empty value:
# git blame --ignore-revs-file="" <file>

# While this setting isn't automatically picked up git, it is used by GitHub based on the file name

######### COMMITS IGNORED FROM BLAME #########

# ignore the "Format with black" commit since it affects many files with no logic impact
a56b04dd07c31e5d0713bb4eb321212cfab95b27

0 comments on commit 561f59e

Please sign in to comment.