8000 GitHub - reggi/commsg
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

reggi/commsg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commsg

Usage: commsg [options]
Description: Prints git command to commit with a conventional commit message.
Options:
    --*                        Any flag acts as a prefix for the commit message
    --breaking-change, -bc, -b Indicate a breaking change
    --preserve-quotes, -pq, -q Preserve quotes in the commit message
    --
npx commsg --fix "removes 'npm hooks' command" -b "The 'npm hooks' command has been removed"

Simply prints:

git commit -m "fix\!: removes \`npm hooks\` command" -m "BREAKING CHANGE: The \`npm hooks\` command has been removed"

Features:

  • converts ' to backtick.
  • adds ! if it's breaking chagne even if it doesn't have breaking change text.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0