Skip to content

feat: support folders without git#70

Open
MaicolBen wants to merge 1 commit intojohannesjo:mainfrom
MaicolBen:feat/support-non-git-folders
Open

feat: support folders without git#70
MaicolBen wants to merge 1 commit intojohannesjo:mainfrom
MaicolBen:feat/support-non-git-folders

Conversation

@MaicolBen
Copy link
Copy Markdown

@MaicolBen MaicolBen commented Apr 13, 2026

Summary

Closes #66.

  • Adds a 'none' git isolation mode for projects that aren't git repositories
  • Non-git folders can now be added as projects — the "Not a Git Repository" error dialog is removed
  • isGitRepo is detected at project add/relink time and stored on the project
  • When creating a task on a non-git project, git UI is automatically hidden (isolation selector, branch picker, branch prefix, merge/push buttons, changed files panel, diff viewer)
  • "no git" badge shown in sidebar and title bar for these tasks
  • Close dialog shows simple "stop agents" message without git warnings
  • Fully backward compatible — existing projects default to isGitRepo: true

Test plan

  • Add a non-git folder as a project (no error dialog)
  • Create a task on a non-git project — git UI sections are hidden
  • Agents spawn and run in the project folder
  • Close task — simple close dialog, no git warnings
  • Sidebar/title bar show "no git" badge
  • Add a git folder — all git UI still works as before
  • Persistence: close and reopen app, non-git project and tasks restore correctly
  • Edit non-git project settings — git settings (branch prefix, delete branch, isolation, base branch) are hidden

Add a 'none' git isolation mode for non-git projects. Non-git folders
can now be added as projects and used with AI agents without requiring
git initialization. Git-related UI (branch picker, merge, push, diff
view, changed files) is hidden for these projects.
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.

Support folders without git

1 participant