Skip to content

feat: add disableGit mode to skip git worktree usage (fix #1140) - #1181

Closed
AviArora02-commits wants to merge 3 commits into
obra:mainfrom
AviArora02-commits:feature/disable-git-mode
Closed

AviArora02-commits wants to merge 3 commits into
obra:mainfrom
AviArora02-commits:feature/disable-git-mode

Conversation

@AviArora02-commits

@AviArora02-commits AviArora02-commits commented Apr 15, 2026 •

Copy link
Copy Markdown

What problem are you trying to solve?

Fixes #1140

Users currently cannot opt out of git-based workflows (worktrees, commits, PR flow), which interrupts workflows for those who prefer manual control or are not using git.


What does this PR change?

  • Adds a disableGit mode to bypass all git/VCS operations
  • Updates using-git-worktrees to skip worktree creation
  • Updates finishing-a-development-branch to skip merge/PR/branch logic
  • Updates subagent-driven-development to prevent commits and git assumptions

Is this change appropriate for the core library?

Yes. This change adds flexibility without breaking existing workflows. Default behavior remains unchanged unless disableGit is enabled.


What alternatives did you consider?

  • Blocking git via permissions (caused interruptions)
  • Ignoring git failures (not clean and breaks flow)

Does this PR contain multiple unrelated changes?

No. All changes are focused on enabling a no-git workflow.


Existing PRs

  • No related PRs found

@obra

obra commented Apr 15, 2026

Copy link
Copy Markdown
Owner

This ignores our pull request template and feels very non-idiomatic. I don't know what the right way to implement this feature request is, but this doesn't feel like it.

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.

No git or VCS

2 participants