I am migrating artifacts from GitLab to ADO Git Repo, not able to find much info to migrate the Wikis under GitLab project to ADO repo.
I found below approach to do it.
First to clone the Gitlab project, wiki using git clone https://<gitlab-repo-url>.wiki.git
wiki.git
at the end of the url, by default the url will be .git
The above clone command will download all the wikis to the local.
Now, from ADO wiki, click the Clone wiki copy the url and use git clone https://<ado-repo-wiki-url>
Now, copy the markdown file from the Gitlab cloned directory to the ADO cloned directory.
.md
files..md
files had images, which also got downloaded from the Gtilab clone into uploads
folder.Finally, from the ADO git cloned path issues git add .
and git commit -m "comments"
then pushed the commits using git push
.