diff --git a/.changeset/plenty-socks-boil.md b/.changeset/plenty-socks-boil.md new file mode 100644 index 0000000000..545cf14eaa --- /dev/null +++ b/.changeset/plenty-socks-boil.md @@ -0,0 +1,5 @@ +--- +"@pnpm/plugin-commands-publishing": patch +--- + +Added more info to the Git check error hint. diff --git a/packages/plugin-commands-publishing/src/publish.ts b/packages/plugin-commands-publishing/src/publish.ts index 8afeed387a..3746237f7a 100644 --- a/packages/plugin-commands-publishing/src/publish.ts +++ b/packages/plugin-commands-publishing/src/publish.ts @@ -83,7 +83,7 @@ export function help () { }) } -const GIT_CHECKS_HINT = 'If you want to disable Git checks on publish, set the "git-checks" setting to "false".' +const GIT_CHECKS_HINT = 'If you want to disable Git checks on publish, set the "git-checks" setting to "false", or run again with "--no-git-checks".' export async function handler ( opts: Omit & {