Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.12 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.12 KB

semci

Git helper to create semver commits and name branches accordingly

Install

You have the option to use npm to install semci globally or you can download the latest release

npm install -g semci

Usage

The best way to find all commands is to use the --help argument

semci --help            # View available commands
semci <command> --help  # View further info about a given command

Examples

semci new feat FEAT-1 "some description"  # Will create a new feature branch
                                          # called feature/FEAT-1-some-description
semci checkout feat-1                     # Searches through available branches

Git configuration

git config --global alias.co "\!semci checkout"    # Set alias for `git co` to map to `semci checkout`
git config --global alias.ci "\!semci commit"      # and so on...
git config --global alias.p "\!semci push"
git config --global alias.new "\!semci branch new"
git config --global alias.fs "\!semci branch new feat"
git config --global alias.bs "\!semci branch new fix"