@yme/git-cli
v0.1.3
Published
utils for git project
Downloads
4
Maintainers
Readme
@yme/git-cli
Utils for git project
Install
pnpm add @yme/git-cli -g
Usage
git-bump
will update the version of package.json, commit and tag by default
git-bump
git bump [options] [release]
# help
git bump help
# use server, default is patch
git bump [major, premajor, minor, preminor, patch, prepatch, prerelease]
# custom version
git bump v1.2.3
# single package
git bump [options] [semver]
Options
--help print this usage information
--dry run dry mode
--commit commit all changeds default is true
--message= commit message, default is chore: Release v__VERSION__
--tag create a new tag, default is true
--independent enable independent mode
--filter= filter packages by package's name
--cwd= working directory
git-changelog
generate changelog
git-changelog
# scope!: breaking changes
# scope: description
# scope?: ignore
# chore: ignore start with chore
git changelog [from] [to]
# help
git changelog help
Options
--help print this usage information
--compare include vertion compare url
--hash include commit url
--title current tag will
git-up
git commit with socpe(s)
git-up
commit message with scope
git up [--scope=some] [title] [body]
select package scope from package.json git.scopes
{
"git": {
"scopes": [
"scope: description",
]
}
}
or, select package scope from pnpm workspace, eg: packages/(scope)
Options
--help print this usage information
--dry run dry mode
--cwd= working directory
--scope= commit scope
--auto auto select scope from packages
--breaking breaking change
--ignore ignore commit meesage
License
MIT