Enable it with
git config --global --add commit.template ~/.commit-template
or just for KDE without the --global from a repo directory.
It's very complete, so once you get the hang of it you might want to remove the first 16 lines so you'll have a nice reminder of the BUG:, FIXED-IN:, etc commit-hooks (I'm looking at you rengles ;) ).
Amarok contributors should also remember to include a Changelog entry to any commits introducing features, changes or bugfixes. Probably a good practice for all.
If you use vim as the commit editor (core.editor=vim) you could use this git commit template as well.
2 comments:
Useful template.
Is there any replacement for SVN_SILENT tag?
[09:39:33] Stecchino: (CVS|SVN|GIT|SCM)_SILENT are all obeyed by the git hooks
Don't know about just "SILENT" but can be looked up here: http://quickgit.kde.org/?p=repo-management.git&a=summary
Post a Comment