How to import/sync git history? #5461
-
Hi everyone, I'm excited to use jj. However, when I do How do I import all other git history? Also, when I add new commits via git, jj doesn't show the latest commits as changes. Is it expected? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Someone more experienced should validate, but I think I'm guessing that commits in Git would be in the detached head mode that |
Beta Was this translation helpful? Give feedback.
Someone more experienced should validate, but I think
jj
does import all of the history, but the default for thelog
command is to show only the latest commit and its parent, which works out to be the empty working copy and the parent which is the last commit in Git.I'm guessing that commits in Git would be in the detached head mode that
jj
uses, and that you have to do something injj
to get a new change ID. (the commit would just replace the working copy commit?)