git-ensure
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i git-ensure

Weekly Downloads

377

Version

0.1.0

License

MIT

Unpacked Size

9.83 kB

Total Files

12

Last publish

Collaborators

  • antfu