Skip to content

Commit 8c2413d

Browse files
author
ikkamens
committed
Git ignores refactoring in history
1 parent 5d88b19 commit 8c2413d

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.git-ignore-revs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Black formatting
2+
e16d3b2094455bae3fe9b601c6249c6a2977a4e3

.gitconfig

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[blame]
2+
ignoreRevsFile = .git-ignore-revs

DEVELOPMENT.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ The code follows code styling by [black](https://github.com/psf/black).
33

44
To automate code formatting, [pre-commit](https://github.com/pre-commit/pre-commit) is used, to run code checks before commiting changes.
55
If you have pre-commit installed from the requirements-dev.txt simple run ``pre-commit install`` to install the hooks for this repo.
6+
7+
# Setup
8+
9+
### git setup for ignoring refactoring commits
10+
Run `git config --local include.path ../.gitconfig` inside your clone of the repo.
11+
Update git to `2.23` or higher to be able to use this feature.

0 commit comments

Comments
 (0)