Dotnet tool to clone all repositories from provided Azure DevOps organization.
Install tool from nuget.org.
If installed with --global
or -g
parameter, run using
ADOSCloneAllRepos.exe
If installed with --local
parameter, run using
dotnet ADOSCloneAllRepos
Get help using the command:
.\ADOSCloneAllRepos.exe --help
ADOSCloneAllRepos 1.0.0
Copyright (C) 2020 ADOSCloneAllRepos
-c, --collection-uri Required. Azure collection e.g. https://dev.azure.com/sample-organization-name/
-u, --user-name Required. AzureDevOps username e.g. [email protected]
-p, --pat Required. Personal Access Token (PAT) for the Git repositories
-o, --output-path Required. Folder to clone repositories into e.g. C:\ClonedRepos
--help Display this help screen.
--version Display version information.
PAT needs at least read all organization and projects and git clone permissions. Refer Authenticate access with personal access tokens on how to generate a PAT.