Skip to content

Commit 6d14683

Browse files
authored
Merge pull request #18198 from ryankshaw/patch-2
show how to always use the git blame ignore file
2 parents 7d7788e + 7fdfbfd commit 6d14683

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/repositories/working-with-files/using-files/viewing-a-file.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,10 @@ This can be useful when a few commits make extensive changes to your code. You c
7979
git blame --ignore-revs-file .git-blame-ignore-revs
8080
```
8181
82+
You can also configure your local git so it always ignores the revs in that file:
83+
84+
```shell
85+
git config blame.ignoreRevsFile .git-blame-ignore-revs
86+
```
87+
8288
{% endif %}

0 commit comments

Comments
 (0)