Reputation: 3620
I am new to azure devops.
I want to clone my repository to Visual studio 2017. When I try to clone it it throws error. please suggest on this. I am able to connect to the repository however not able to clone it.
Upvotes: 0
Views: 4180
Reputation: 36
In Team Explorer, underneath the Clone Repository section, notice how the top box does have spaces in the URL. Cancel the clone by clicking the Cancel link. Do this, because you'll find that you cannot edit the Clone Repository inputs. Click the Clone Repository link in the Project section of the Team Explorer window.
You'll notice the Clone Repository section will reappear, but now will not be editable. Notice that the first/top input box has replaced any spaces in the URL with %20. Ensure that you're the second box, which maps a local path to download your source to, is accurate. Click the Clone button, and it should
Upvotes: 2
Reputation: 41555
The error is because you have a space in your project name, if you can't rename the project, you have 2 workarounds:
First workaround
Click the Clone Repository link in the Project section of the Team Explorer window.
You'll notice the Clone Repository section will reappear, but now will not be editable. Notice that the first/top input box has replaced any spaces in the URL with %20. Ensure that you're the second box, which maps a local path to download your source to, is accurate. Click the Clone button, and it should work.
Second workaround
Upvotes: 1