Vim: Extract Issue Id from Branch Name in Commit Message
If you prefix your git branch name with an issue id (from Redmine, Github, ...). You can extract this id in your commit message using this short snippet.
Just write your commit message and write REFS or FIXES to trigger the macro.
Written by Raffael Schmid
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Commit message
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#