diff --git a/ .git-blame-ignore-revs b/ .git-blame-ignore-revs new file mode 100644 index 00000000000..573f328032c --- /dev/null +++ b/ .git-blame-ignore-revs @@ -0,0 +1,13 @@ +# Reformatting 2025 + +eb00e2a471b016a77594851be44ccb3e1655acfe + +# Reformatting 2015 + +c5bcad738fe6e8dfcb62442a426c2778241515a1 +10189bf2c1a6bc506f03461390f3cc46e5cc0651 +16fd6194b9a0b8282259c00b6fb0d4aa494e4b04 + +# Wrong merge + +185d7345946c29a2a4e2726c912be0c4db4810b9 diff --git a/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/pre-03-code.md b/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/pre-03-code.md index ca25603281e..9a801e1b4ba 100644 --- a/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/pre-03-code.md +++ b/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/pre-03-code.md @@ -84,3 +84,13 @@ origin https://github.com/YOURUSERNAME/jabref.git (push) upstream https://github.com/JabRef/jabref.git (fetch) upstream https://github.com/JabRef/jabref.git (push) ``` + +## Have `git blame` working + +You need to tell git to ignore some commits when doing `git blame`: + +```terminal +git config --global blame.ignoreRevsFile .git-blame-ignore-revs +``` + +