Skip to content

Instantly share code, notes, and snippets.

@arxae
Created August 2, 2016 06:55
Show Gist options
  • Save arxae/7ed914e2d65414f9707e0f6945bf0de7 to your computer and use it in GitHub Desktop.
Save arxae/7ed914e2d65414f9707e0f6945bf0de7 to your computer and use it in GitHub Desktop.
Fossil <-> Git
Fossil -> Git
git init new-repo
cd new-repo
fossil export --git ../repo.fossil | git fast-import
git merge trunk
git branch -d trunk
Git -> Fossil
cd git-repo
git fast-export --all | fossil import --git new-repo.fossil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment