Skip to content

feat(rstack): add force option to setup - #399

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-setup-force
Aug 24, 2026
Merged

feat(rstack): add force option to setup#399
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-setup-force

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

The rs setup command currently skips installation when it detects existing Git hooks or a custom core.hooksPath, leaving no explicit way to let Rstack take ownership. This PR adds -f, --force to preserve the previous hook files while switching Git to Rstack hooks, explains how to reactivate the old hooks, and retains safeguards for hooks owned by another Rstack project or unmanaged target directories.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1ab35bef7e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/rstack/src/setup/install.ts
@chenjiahan
chenjiahan merged commit c5f19e7 into main Aug 24, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/feat-setup-force branch August 24, 2026 08:21
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.

1 participant