Version, select, or unpublish a published wiki
The publish code as wiki feature is currently available on VSTS only. For TFS 2018 and later versions, you can only provision a wiki for your team project.
When you publish a Git repository to a wiki, you can publish new branch versions of the repo, select a version to view, or unpublish the repo.
Publish a new wiki version
When your published wiki corresponds to a product version, you can publish new versions as you release new versions of your product. To create a new version, create a new branch of your repo and then make updates to that new branch.
To create a new branch from the web portal, open the Code>Branches page, open the actions icon for the branch you have previously published, and choose New branch.
To Publish the new branch to a wiki, open the Wiki page for the currently published branch, open the actions icon, and choose Publish new version.
Fill out the form, choosing the branch that you previously created.
Select a wiki version
To select a wiki version, choose the version from the branch options from your Wiki hub.
Unpublish a published wiki
If you no longer want a repository to be published as a wiki, you can choose to unpublish it from the Wiki hub. Unpublishing a wiki unpublishes all versions of the repository that you have published previously.
Simply select the wiki you want to unpublish, pen the context menu, and choose Unpublish wiki.
Confirm that you want to unpublish the wiki by choosing Unpublish.