gitflow
gitflow copied to clipboard
Is it possible to make custom message during MERGE
git merge --no-ff feature --edit -m "$(cat ~/.git_commit_template.txt)" allows me to add a helper text at the bottom of the MERGE_MSG file. Would it be possible to have similiar behavior during the merge when we run : git flow feature finish work
.git_commit_template has something like:
# 1. `Separate subject from body with a blank line`
# 2. `Limit the subject line to 50 characters`
# 3. `Capitalize the subject line`
# 4. `Do not end the subject line with a period`
# 5. `Use the imperative mood in the subject line`
# 6. `Wrap the body at 72 characters`
# 7. `Use the body to explain what and why vs. how`