1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

6 commits

Author SHA1 Message Date
Takashi Kokubun
8f4a53d051
Ignore fc4acf8cae on git blame 2022-08-19 14:45:51 -07:00
Nobuyoshi Nakada
2338845421
Update .git-blame-ignore-revs [ci skip] 2022-07-30 17:32:57 +09:00
Nobuyoshi Nakada
c258fb2775
Update .git-blame-ignore-revs [ci skip] 2022-07-30 17:26:22 +09:00
Nobuyoshi Nakada
1bebf21570
Update .git-blame-ignore-revs [ci skip] 2022-07-30 17:13:00 +09:00
Takuya Noguchi
5904895cf5
Add .git-blame-ignore-revs
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-07-22 12:09:04 +09:00
Takashi Kokubun
2661980435
Add .git-blame-ignore-revs [ci skip]
for [Misc #18891]

It is a file that could be used with `git config blame.ignoreRevsFile`.
The file name `.git-blame-ignore-revs` is natively supported by GitHub,
so you don't need anything else to make it work on GitHub.
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view

However, for your local git repository use, if you configure `blame.ignoreRevsFile`
globally, git expects you to have the file in every git repository you
use, which is nearly impossible.

So, for your local development, you're supposed to use this file with:

```
git config --local blame.ignoreRevsFile .git-blame-ignore-revs
```
2022-07-21 10:00:35 -07:00