-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The added `.git-blame-ignore-revs` file can be used with `git blame` to ignore certain commits when blaming, which is useful when we want to commit large formatting changes without messing up the output of `git blame`. Also, by adding this file to the repo `GitHub` will pick it up automatically and ignore the listed commits. Usage: `git blame --ignore-revs-file .git-blame-ignore-revs somefile.ext` However, it is highly recommended that you configure `git blame` locally to always ignore the commits specified in `.git-blame-ignore-revs`. You can do this by running the following from the repository's root: `git config blame.ignoreRevsFile .git-blame-ignore-revs`. From then on, you can just run `git blame somefile.ext` and ignoring will also work for git porcelains and integrations automatically.
- Loading branch information
1 parent
9a5ec23
commit f06163b
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### NOTE | ||
# Run `git config blame.ignoreRevsFile .git-blame-ignore-revs` | ||
# from the repository's root to tell `git blame` to ignore | ||
# the commits below. | ||
|
||
# `fourmolize` | ||
# CommitDate: Wed Nov 20 17:31:16 2024 +0100 | ||
14e82fce8c6f5b29b2018a1d4fc68c7d8ada256a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters