Re: [FEATURE] git-commit option to prepend filename to commit message
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jul 15, 2017, 16:01 UTC
- Message-ID
- <ef92480f-3de6-fa82-78bc-2a91566e8864@kdbg.org>
- In-Reply-To
- <18894679.1800.1500128374439@elwamui-karabash.atl.sa.earthlink.net>
Am 15.07.2017 um 16:19 schrieb John J Foerch:
> The feature would be a command line option for git commit that would > automatically prepend the "<filename>: " to the commit message.
Write a prepare-commit-msg hook:
https://www.kernel.org/pub/software/scm/git/docs/githooks.html#_prepare_commit_msg
-- Hannes