Skip to content
/ ccrs Public

A CLI tool for conventional commits

Notifications You must be signed in to change notification settings

tofuuudon/ccrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ccrs | conventional commits and semantic bumps


Notice

    This tool is one I've created for myself. I'm open to suggestions and improvements, so please do open an issue if you have anything to share. However, I'm quite a minimalist, so expect this project to follow suit.


Installation

brew tap tofuuudon/ccrs
brew install ccrs

Commit

    You can specify which type of commit you'd like to create, e.g. ft, fx, and rf — which are feat, fix, and refactor, respectively. There are more types, please refer to the table below. You can also use the alias crs instead of ccrs.

longhand shorthands
feat ft,fe
fix fx,fi
docs dc,do
style stl,st
perf pf,pe
test ts,te
build bd,bu
ci ci
chore chr,ch
refactor rf,re
commit.mp4

Bump

    You must have an existing initial git tag for ccrs bump to work. It takes the existing semantic version, and bumps it by a major if it has a breaking change, a minor for feat, and a patch for fix. It will reuse any prefixes like v from the previous tag.

bump.mp4