From a0618e8bed25b7d2ccda5fa8cbfe570562a7f2d6 Mon Sep 17 00:00:00 2001 From: Ryan Shaw Date: Tue, 24 May 2022 17:43:38 -0600 Subject: [PATCH] show how to always use the git blame ignore file --- .../working-with-files/using-files/viewing-a-file.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/repositories/working-with-files/using-files/viewing-a-file.md b/content/repositories/working-with-files/using-files/viewing-a-file.md index f32c7c5cf1..d94bcd7854 100644 --- a/content/repositories/working-with-files/using-files/viewing-a-file.md +++ b/content/repositories/working-with-files/using-files/viewing-a-file.md @@ -84,4 +84,10 @@ This can be useful when a few commits make extensive changes to your code. You c git blame --ignore-revs-file .git-blame-ignore-revs ``` +Or to configure your local git so it always ignores the revs in that file: + +```shell +git config blame.ignoreRevsFile .git-blame-ignore-revs +``` + {% endif %}