Create `git blame` ignore file and mention it in CONTRIBUTING.md

This commit is contained in:
Marco Belladelli 2024-09-17 13:48:26 +02:00
parent 384bdbc19c
commit 4fbc8f96ef
2 changed files with 4 additions and 0 deletions

3
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,3 @@
# Initial commits that enabled spotless automatic formatting
59731c089e9d649a663c81d9622b54557d6aba37
4d63ffd98cdead513ab0be0fa23f9787423092d3

View File

@ -51,6 +51,7 @@ GitHub there are a few pre-requisite steps to follow:
the linked page, this also includes:
* [set up your local git install](https://help.github.com/articles/set-up-git)
* clone your fork
* Instruct git to ignore certain commits when using `git blame`. From the directory of your local clone, run this: `git config blame.ignoreRevsFile .git-blame-ignore-revs`
* See the wiki pages for setting up your IDE, whether you use
[IntelliJ IDEA](https://hibernate.org/community/contribute/intellij-idea/)
or [Eclipse](https://hibernate.org/community/contribute/eclipse-ide/)<sup>(1)</sup>.