I have a diffusion repository that I would like to import to github with complete history. I tried a few options that appeared on search. Maybe someone can help what would be the easiest option to do that. Many thanks in advance.
Normally, the easiest option is:
That is:
cd /path/to/local/repo
git remote add origin https://github.com/<me>/<myrepo>
# if origin already existed, change it with
git remote set-url origin https://github.com/<me>/<myrepo>
git push --mirror origin