File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1- # migrating to the black formatter
1+ # Usage: run the following command to configure git to use this file:
2+ #
3+ # git config blame.ignoreRevsFile .git-blame-ignore-revs
4+ #
5+ # This instructs `git-blame` to ignore certain commits, such as those that only
6+ # involve large refactoring or reformatting operations. The format of this file
7+ # is one full 40-character commit hash (SHA-1) per line. Blank lines and
8+ # comments (such as this) are allowed.
9+
10+ # Migrating to the black formatter.
2115cd8b96e605039af1496b6ad97ea490ef2fa7b82
12+
13+ # Run check/format-incremental --all --apply.
14+ 7f262ff9cc9eeb9b1b2d6a26c4acbfb7ab17063e
Original file line number Diff line number Diff line change @@ -69,6 +69,18 @@ we use.
6969
7070 where ` YOUR_BRANCH_NAME` is the name of your new branch.
7171
72+ # ## git configuration
73+
74+ The following command will set up large refactoring revisions to be ignored,
75+ when using ` git blame` :
76+
77+ ` ` ` bash
78+ git config blame.ignoreRevsFile .git-blame-ignore-revs
79+ ` ` `
80+
81+ Note that if you are using PyCharm, you might have to use the command _Restart
82+ & Invalidate Caches) to have the change be picked up.
83+
7284# ## Development environment installation
7385
7486Please refer to the section _Developer install_ of the [installation
You can’t perform that action at this time.
0 commit comments