git-ensure

Ensure git status before continuing.

MIT 4 个版本
安装
npm install git-ensure
yarn add git-ensure
pnpm add git-ensure
bun add git-ensure
README

git-ensure

Ensure git status before continuing.

NPM version

image

Usage

npx git-ensure --branch main --no-head --no-behind --clean && <your-commands>

or

npx git-ensure -a && <your-commands>

If any of the conditions fail, a process.exit(1) will be returned and prevent you from continuing the following workflows.

License

MIT

版本列表
0.1.0 2021-02-17
0.0.6 2021-02-17
0.0.4 2021-02-17
0.0.0 2021-02-17