Added a comment to fixes_alias git config file

This commit is contained in:
Maciej Suminski 2016-08-12 11:47:07 +02:00
parent 6c467a5041
commit 8a8dc5fbbb
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
[alias]
# Alias to simplify marking commits as bug fixes
# After commiting a change, run 'git fixes 123456' to mark the commit as a fix to bug lp:123456
fixes = "!f() { \
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\"; \