mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-05 23:42:50 +00:00
I originally thought this would be unavoidable, but I was wrong. "jj git clone" doesn't implicitly create any local branch if git.auto-local-branch is off, and that's fine because the detached HEAD state is normal in jj. That being said, Git users would expect that the main/master branch exists. Since importing the default branch is harmless, let's create and track it no matter if git.auto-local-branch is off.