Skip to content

cli: unblock "git init" in non-main Git worktree directory - #10095

Open
yuja wants to merge 2 commits into
mainfrom
push-mwrlvwlpwmxs
Open

cli: unblock "git init" in non-main Git worktree directory#10095
yuja wants to merge 2 commits into
mainfrom
push-mwrlvwlpwmxs

Conversation

@yuja

@yuja yuja commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added/updated tests to cover my changes
  • I fully understand the code that I am submitting (what it does,
    how it works, how it's organized), including any code drafted by an LLM.
  • For any prose generated by an LLM, I have proof-read and copy-edited with
    an eye towards deleting anything that is irrelevant, clarifying anything
    that is confusing, and adding details that are relevant. This includes,
    for example, commit descriptions, PR descriptions, and code comments.

yuja added 2 commits September 1, 2026 17:44
While a user would probably want to create a colocated workspace, creating a new
jj repo alongside a Git worktree is still valid. The Git HEAD and refs are
imported and exported independently.
@yuja
yuja requested a review from a team as a code owner September 1, 2026 11:38
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