Skip to content

[6.x] Add git-blame-ignore-revs #11419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2025
Merged

[6.x] Add git-blame-ignore-revs #11419

merged 1 commit into from
Feb 5, 2025

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Feb 5, 2025

This adds .git-blame-ignore-revs with the sha of the commit for #11416.

Any revisions listed in this file will be ignored in GitHub within blames.

GitHub will use this automatically. Locally, you can use this by running git config blame.ignoreRevsFile .git-blame-ignore-revs (once). Code editors will typically respect this in their diff UIs if you have added that config.

It's nice to not see "Apply Prettier" in the blame within a billion files.

More info: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-and-understanding-files#ignore-commits-in-the-blame-view

@jasonvarga jasonvarga merged commit dbd6309 into master Feb 5, 2025
20 checks passed
@jasonvarga jasonvarga deleted the git-blame-ignore-revs branch February 5, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant