Skip to content

How to fetch from a local copy in a "non-colocated" repo? #1822

Answered by yuja
chriskrycho asked this question in Q&A
Discussion options

You must be logged in to vote

You can git fetch from .jj/repo/store/git. It wouldn't preserve JJ metadata (like change id or rewrite history), though.

I think you can also turn the original repo into colocated repo by moving directories and rewriting .jj/repo/store/git_target file, but I don't remember the exact steps.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chriskrycho
Comment options

chriskrycho Jul 8, 2023
Collaborator Author

@landtuna
Comment options

@nrbray
Comment options

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