nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.

Home Page:http://nvie.com/posts/a-successful-git-branching-model/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to make custom message during MERGE

avatar-lavventura opened this issue · comments

commented

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`