Skip to content

Kshitij-Banerjee/Formatted-Commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Formatted-Commit

A vim plugin to format your commit-message and promote from vim.

Configuration

  • Define the regex to extract from branch name in vimrc
  • example:
     let g:branch_regex = "'W[TO]-[0-9]*'" 
  • Define the commit-prefix string in vimrc
  • example:
     let g:commit_prefix = 'JIRA:' 

Example :-

  • branch-name-WO-001
  • promote from vim using the following command
  • :Promote your_commit_message
  • The commit is formatted as so.
  • JIRA:WO-001 | your_commit_message

Installation

About

Format your commit-message and promote from vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published