AZ-400 · Question #76
You have a GitHub repository. You create a new repository in Azure DevOps. You need to recommend a procedure to clone the repository from GitHub to Azure DevOps. What should you recommend?
The correct answer is C. From Import a Git repository, click Import. You can import an existing Git repo from GitHub, Bitbucket, GitLab, or other location into a new or empty existing repo in your project in Azure DevOps. Import into a new repo 1. Select Repos, Files. 2. From the repo drop-down, select Import repository. 3. If the source repo is p
Question
Options
- ACreate a webhook.
- BCreate a service connection for GitHub.
- CFrom Import a Git repository, click Import
- DCreate a pull request.
- ECreate a personal access token in Azure DevOps.
How the community answered
(68 responses)- B3% (2)
- C88% (60)
- D7% (5)
- E1% (1)
Explanation
You can import an existing Git repo from GitHub, Bitbucket, GitLab, or other location into a new or empty existing repo in your project in Azure DevOps. Import into a new repo 1. Select Repos, Files. 2. From the repo drop-down, select Import repository. 3. If the source repo is publicly available, just enter the clone URL of the source repository and a name for your new Git repository. https://docs.microsoft.com/en-us/azure/devops/repos/git/import-git-repository?view=azure-devops
Community Discussion
No community discussion yet for this question.