Skip to content

How to import/sync git history? #5461

Answered by joyously
JakkuSakura asked this question in Q&A
Discussion options

You must be logged in to vote

Someone more experienced should validate, but I think jj does import all of the history, but the default for the log 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 in jj to get a new change ID. (the commit would just replace the working copy commit?)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JakkuSakura
Comment options

@martinvonz
Comment options

Answer selected by martinvonz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants