-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add '.git-blame-ignore-revs' to the project #37822
Conversation
If you are using GitLens extensions for VS Code, you can add the following settings:
|
Is it something that GitHub supports as well or it's only helpful when you run the command? |
The feature isn't supported on Github yet - community/community#5033. |
Awesome, I commented there community/community#5033 (comment). |
Can this be problematic if one of the ignored revisions actually introduced a small bug? Think of unintentionally removing something, etc. |
@oandregal, I don't think so. You can still run |
How about we also include a section in the documentation explaining how to use this file (and maybe also a link in the file to the section). We could put it to the existing document: https://github.com/WordPress/gutenberg/blob/trunk/docs/contributors/code/git-workflow.md |
Didn't know about this 🙂 that's really cool. |
Sorry, I got stuck with documentation. @gziolo, do you think this should be in a new section? Maybe "Advanced" or "Miscellaneous"? P.S. I had some trouble doing |
Sounds good, you just pick one 👍🏻 |
1ffec39
to
5f1fd70
Compare
@gziolo added a section in docs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, let’s land it ❤️
Description
PR adds
.git-blame-ignore-revs
to the project to improve git archeology.You can read more about the
ignore-rev
in the following articles:How has this been tested?
Test using the command below and it should ignore 4857ad5 commit.
Types of changes
DX
Checklist:
*.native.js
files for terms that need renaming or removal).