Skip to content

Commit

Permalink
docs: Git does not use bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
homeworkprod authored and martinvonz committed Dec 20, 2024
1 parent 85adde9 commit 07e01c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ changes.
## Working in a Git co-located repository

After doing `jj git init --colocate`, Git will be in a [detached HEAD
state][detached], which is unusual, as Git mainly works with bookmarks. In a
co-located repository, every `jj` command will automatically synchronize
state][detached], which is unusual, as Git mainly works with named branches; jj
does not.

In a co-located repository, every `jj` command will automatically synchronize
Jujutsu's view of the repo with Git's view. For example, `jj commit` updates the
HEAD of the Git repository, enabling an incremental migration.

Expand Down

0 comments on commit 07e01c1

Please sign in to comment.