This repository contains a PowerShell script, ConvertTo-GithubWiki.ps1
, that can be used to migrate an Azure DevOps Wiki to GitHub.
Before running the script, make sure you have the following:
- PowerShell installed on your machine.
- Azure DevOps Wiki that you want to migrate.
- A GitHub repository where you want to migrate the wiki.
-
Clone this repository to your local machine.
-
Get the Azure DevOps Wiki repository URL.
-
Get the GitHub repository URL where you want to migrate the wiki.
-
Open a PowerShell terminal as an administrator.
-
Navigate to the cloned repository.
-
Run the following command:
.\ConvertTo-GithubWiki.ps1 -AzureDevOpsWikiRepositoryUrl "<Azure DevOps Wiki Repository URL>" -GitHubWikiRepositoryUrl "<GitHub Repository URL>"