Actions
Feature #51537
openuse git `Prepare Commit Message` hook to add component in commit title
% Done:
0%
Source:
Tags:
low-hanging-fruit
Backport:
Description
git `Prepare Commit Message`[0], add git commit title based on files touched:
will add common component names used based on files touched, while forming a
commit which can be amended if needed or used as is
the workflow should be:
1. developer stages the changes
2. calls git commit -s
3. editor opens to add commit msg, prepopulated with component touched in changes
4. fill the templated commit
[0]https://www.atlassian.com/git/tutorials/git-hooks
blog ref: https://codeburst.io/understanding-git-hooks-in-the-easiest-way-bad9afcbb1b3
Actions