diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f3b10171..ec198bc1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -230,5 +230,5 @@ This is done by the CI/CD system. [^semver]: [Semantic Versioning](https://semver.org/) [^git-alias-github-pr-summary]: Add a Git alias that generates a summary of changes from GitHub pull requests: - `git config --global alias.lg-github-pr-summary \ + `git config --global alias.lg-github-pr-summary '!f() { git log --date=short --reverse --merges --grep "^Merge pull request #[[:digit:]]* from" --pretty="tformat:- (%C(auto,red)%s%C(reset), %C(auto,green)%ad%C(reset)) %b" "$@" | sed -E "s|Merge pull request (#[0-9]+) from .+|PR \1|"; }; f'`