Skip to content

Commit

Permalink
Add ignore revs file
Browse files Browse the repository at this point in the history
* And document it
  • Loading branch information
datengraben committed Feb 5, 2025
1 parent 59340f6 commit da61967
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
59340f68fb9c6d6e680ac3ad40a3d095e98837a6
10 changes: 10 additions & 0 deletions TECHNICAL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### Formatter

We use .git-blame-ignore-revs to track repo-wide cosmetic refactorings by auto format tools like prettier/phpcbf.
See [Github Documentation](https://docs.github.com/de/repositories/working-with-files/using-files/viewing-and-understanding-files#ignore-commits-in-the-blame-view)

You can also configure your local git so it always ignores the revs in that file:

```bash
git config blame.ignoreRevsFile .git-blame-ignore-revs
```

0 comments on commit da61967

Please sign in to comment.