Skip to content
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

chore: add .git-blame-ignore-revs #2366

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

mwtoews
Copy link
Contributor

@mwtoews mwtoews commented Nov 13, 2024

This PR attempts to clear some "noise" when using GitHub's "blame view" UI tool to see changes in code history for individual files.

These commits are chosen as they are mostly style-related changes rather than code refactors (minor refactors are OK):

@martclanor
Copy link
Contributor

This is very useful, TIL! Also, I think this setting can be used locally to make the most out of it. However, it has to be done by manually changing the git configuration:

git config blame.ignoreRevsFile .git-blame-ignore-revs

Is it an idea to include this in the Git section of DEVELOPER.md?

@mwtoews
Copy link
Contributor Author

mwtoews commented Nov 14, 2024

Sure, I've documented this optional configuration. But it isn't needed for most folks, and the Web UI don't need any further configuration. GitHub's docs on the tool are here.

@wpbonelli wpbonelli merged commit e62ebb0 into modflowpy:develop Nov 14, 2024
21 of 22 checks passed
@mwtoews mwtoews deleted the git-blame-ignore-revs branch November 14, 2024 21:07
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.

3 participants