Github now supports .git-blame-ignore-revs (GH-2948)
It's in beta. https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
This commit is contained in:
parent
5379d4f3f4
commit
062b54931d
@ -43,8 +43,10 @@ call to `git blame`.
|
||||
$ git config blame.ignoreRevsFile .git-blame-ignore-revs
|
||||
```
|
||||
|
||||
**The one caveat is that GitHub and GitLab do not yet support ignoring revisions using
|
||||
their native UI of blame.** So blame information will be cluttered with a reformatting
|
||||
commit on those platforms. (If you'd like this feature, there's an open issue for
|
||||
[GitLab](https://gitlab.com/gitlab-org/gitlab/-/issues/31423) and please let GitHub
|
||||
know!)
|
||||
**The one caveat is that some online Git-repositories like GitLab do not yet support
|
||||
ignoring revisions using their native blame UI.** So blame information will be cluttered
|
||||
with a reformatting commit on those platforms. (If you'd like this feature, there's an
|
||||
open issue for [GitLab](https://gitlab.com/gitlab-org/gitlab/-/issues/31423)). This is
|
||||
however supported by
|
||||
[GitHub](https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view),
|
||||
currently in beta.
|
||||
|
Loading…
Reference in New Issue
Block a user