'BitBucket SSH Cloning Git
Following BitBucket docs: https://confluence.atlassian.com/bitbucket/clone-a-repository-223217891.html
This is the example code snippet of cloning using git. But when using the ":" I get an error of "could not resolve hostname" but when I use "/" I don't have any issues. What am I missing? Is the documentation incorrect?
$ git clone ssh://[email protected]:teamsinspace/documentation-tests.git
$ git clone ssh://[email protected]/teamsinspace/documentation-tests.git
Solution 1:[1]
Note that every Bitbucket repo has a "Clone" button at the top right of the repo's home page. You can copy the correct git clone command from there.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Code-Apprentice |
