go-git-commands
checkout
Creates a new branch from the current branch using naming strategy <type>/<ticket-id>/<branch-name>
.
Supported types are FEAT
, FIX
, IMPR
, OPS
.
Install
brew install mrados7/main/checkout
# or
go install github.com/mrados7/go-git-commands/checkout@latest
Usage
checkout
commit
Uses branch name to detrmine the commit message.
If the branch name is FIX/FE-1234/branch-name
then the commit message will be [FIX] [FE-1234] commit-message
.
Install
brew install mrados7/main/commit
# or
go install github.com/mrados7/go-git-commands/commit@latest
Usage
commit