Skip to content

commands/deploy.md: uncommitted changes are described as excluded from the deploy, but the CLI uploads them #311

Open

Description

@Ch1llb4y

Found while auditing the plugin's commands against its own skills and scripts/validate.ts (checked on main @ 82fa491, plugin 0.54.1).

commands/deploy.md:20:

If output is non-empty: warn the user that uncommitted changes will not be included in the deploy. Ask whether to continue or commit first.

A CLI deploy uploads the local working tree, so uncommitted changes are deployed. The plugin says so itself in skills/vercel-cli/references/deployment.md:57-59 ("it creates a new deployment from local source"). As written, the user confirms a production deploy believing their work-in-progress edits will stay out.

Suggested fix:

If output is non-empty: warn the user that uncommitted changes will be deployed (the CLI uploads the working tree). Ask whether to continue, or to commit/stash first.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions