In this article, learn how to open a wiki and create a Git repo for your wiki. Every team project has a wiki. Use the wiki to share information with your team to understand and contribute to your project.
Each team project wiki is powered by a Git repository in the back-end. When you create a team project, a wiki Git repo isn't created by default. Create a Git repository to store your wiki Markdown files, or publish existing Markdown files from a Git repository to a wiki.
You can open and view a wiki page for your project.
Connect to your project using a supported web browser and choose Wiki.
If you need to switch your team project, choose Azure DevOps to browse all team projects and teams.
You can view and open a wiki page defined for a project using the az devops wiki show command. To get started, see Get started with Azure DevOps CLI.
az devops wiki show --wiki [--open] [--project] [--subscription]
Open a wiki named 'myprojectwiki'.
az devops wiki show --wiki myprojectwiki --open
To get the content of a page via the Azure DevOps CLI, enter the az devops wiki show command.
az devops wiki page show --path --wiki [--include-content] [--open] [--project] [--subscription] [--version]
Get wiki page content with path 'my wiki' in a wiki named 'myprojectwiki'.
az devops wiki page show --path 'my wiki' --wiki 'myprojectwiki' --content "Hello World"
Azure DevOps CLI commands aren't supported for Azure DevOps Server.
Create a new Git repository that stores all your wiki pages and related artifacts. From the wiki landing page, select Create Project wiki. Even if you use TFVC for source control, you can create a wiki with a Git repository.
If you don't have access to create a wiki Git repository or if you don't have access to any of the existing wikis, the following message appears.
Your administrator can create the wiki Git repository or you can request that they elevate your permissions. Stakeholders can't create a wiki, as they have no permissions to work in Repos or Code.
The wiki Git repo is referred as TeamProjectName.wiki . For example, if your team project is foobar then the wiki repo is labeled foobar.wiki .
If you want to create more wikis, then you must publish code as a wiki. You can set up multiple wiki repos within a single project.
The TeamProjectName.wiki doesn't appear in the drop-down menu of repositories from Repos or Code. It also isn't in the list provided from the Project Settings > Repositories or Project Settings > Version Control pages.
However, you can get to it from the following URL:
Select Clone Wiki from the ellipsis near the wiki picker to access the wiki URL.
The URL of the wiki Git repository is exposed. Copy and paste it into your web browser to access the underlying Git repo.
You can create a wiki with the az devops wiki create command. To get started, see Get started with Azure DevOps CLI.
To create more than one wiki, you must publish code as a wiki. You can set up multiple wiki repos within a single project.
az devops wiki create [--mapped-path] [--name] [--org] [--project] [--repository] [--type ] [--version]
The following command creates a wiki named "Fabrikam Fiber" and shows the output in table format.
az devops wiki create --name "Fabrikam Fiber" --output table ID Name Type ------------------------------------ ------------------- ----------- 7edcc35b-89be-465e-855e-377ba8660af7 Fabrikam Fiber.wiki projectWiki
Azure DevOps CLI commands aren't supported for Azure DevOps Server.