pnpm Publish and Registry/Publish without Git checks

Skip Git checks when necessary, such as in some automated environments.

Section: Pack and Publish

Publish without Git checks

bash
bash
pnpm publish --no-git-checks
Explanation

Skip Git checks when necessary, such as in some automated environments.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Pack and Publish
Pack current package
Create a tarball from the current package.
OpenIn sheetbashsame section
Publish current package
Publish the current package to the configured registry.
OpenIn sheetbashsame section
Publish public scoped package
Publish a scoped package with public visibility.
OpenIn sheetbashsame section
Publish under dist-tag
Publish a prerelease or alternate stream under a custom dist-tag.
OpenIn sheetbashsame section
Publish workspace packages recursively
Publish workspace packages recursively.
OpenIn sheetbashsame section
Preview publish contents
Preview what would be published without uploading.
OpenIn sheetbash2 tag match