From c743d701e1940982c9a0d39a71ea191804a58606 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 21 Nov 2022 11:39:56 -0500 Subject: [PATCH] Suggest how to ignore .git-blame-ignore-revs (#21915) Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> --- .../working-with-files/using-files/viewing-a-file.md | 4 ++++ 1 file changed, 4 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 00cf5b27c0..ea88316e23 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 @@ -86,3 +86,7 @@ git config blame.ignoreRevsFile .git-blame-ignore-revs ``` {% endif %} + +## Bypassing `.git-blame-ignore-revs` in the blame view + +If the blame view for a file shows **Ignoring revisions in .git-blame-ignore-revs**, you can still bypass `.git-blame-ignore-revs` and see the normal blame view. In the URL, append a `~` to the SHA and the **Ignoring revisions in .git-blame-ignore-revs** will disappear.