Added a git alias to extract changelog (git changelog)

This commit is contained in:
Maciej Suminski 2017-11-23 10:16:20 +01:00
parent 3d2b5e3922
commit 0b66f29b58
1 changed files with 4 additions and 0 deletions

View File

@ -9,3 +9,7 @@
COMMIT_MSG=$(git log -1 --format=medium | tail -n +5 | sed -e 's/^ //'); \
git commit --amend -m \"${COMMIT_MSG}\n\nFixes: lp:$1\n* https://bugs.launchpad.net/kicad/+bug/$1\"; \
}; f"
# Alias to extract the changelog using ADD/NEW/REMOVE/CHANGE tags from commit messages
changelog = log -E --grep="ADD:|NEW:|REMOVE[D]?:|CHANGE[D]?:"