Skip to content

Run Git preflight before prompting#788

Merged
sindresorhus merged 1 commit intomainfrom
preflight
Apr 17, 2026
Merged

Run Git preflight before prompting#788
sindresorhus merged 1 commit intomainfrom
preflight

Conversation

@sindresorhus
Copy link
Copy Markdown
Owner

Validate the branch, working tree, and remote before showing the release wizard, so obvious Git errors surface immediately rather than after the user has answered all the prompts. The full Git task still runs before publish in case the repo state changes during prompting or login.

Fixes #784

Validate the branch, working tree, and remote before showing the release wizard, so obvious Git errors surface immediately rather than after the user has answered all the prompts. The full Git task still runs before publish in case the repo state changes during prompting or login.

Fixes #784
@sindresorhus sindresorhus requested a review from fregante April 17, 2026 16:03
@sindresorhus sindresorhus merged commit 8658708 into main Apr 17, 2026
4 checks passed
@sindresorhus sindresorhus deleted the preflight branch April 17, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move prerequisite+git checks before the wizard

2 participants