sh-notion/notion_data_team_no_files/Little Git SSH cloning trick 3d33758de34742b9ac180fd9c7b5e6b3.md
Pablo Martin a256b48b01 pages
2025-07-11 16:15:17 +02:00

15 lines
No EOL
817 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Little Git SSH cloning trick
When you try to git clone repos with SSH from our Azure DevOps environment, you will get URLs that look like this:
[`guardhog@vs-ssh.visualstudio.com](mailto:guardhog@vs-ssh.visualstudio.com):v3/guardhog/Data/data-repo-blablabla`
This string will not work due to some funny quirkiness from Microsoft to make our lifes more exciting and challenging.
To fix it, replace the `vs-ssh.visualstudio.com` in the clone string with `ssh.dev.azure.com`.
So, the original url and the replaced, final, working one would look like this:
[`guardhog@vs-ssh.visualstudio.com](mailto:guardhog@vs-ssh.visualstudio.com):v3/guardhog/Data/data-repo-blablabla`
[`guardhog@](mailto:guardhog@vs-ssh.visualstudio.com)[ssh.dev.azure.com](http://ssh.dev.azure.com/):v3/guardhog/Data/data-repo-blablabla`