Skip to content

Commit 83a090c

Browse files
authored
Add examples for using ssh to install from Source Control (#1629)
The "<URL>.git" extension on https:// links also works for ssh:// links on GitHub, but not on Azure DevOps Repos, which is why it is removed from the example.
1 parent d28c33e commit 83a090c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ You can also install from a git repository. Here, `black` is used as an example.
235235

236236
```
237237
pipx install git+https://github.com/psf/black.git
238+
pipx install git+ssh://[email protected]/psf/black # using ssh
238239
pipx install git+https://github.com/psf/black.git@branch # branch of your choice
239240
pipx install git+https://github.com/psf/black.git@ce14fa8b497bae2b50ec48b3bd7022573a59cdb1 # git hash
240241
pipx install https://github.com/psf/black/archive/18.9b0.zip # install a release
@@ -435,6 +436,7 @@ You can also run from a git repository. Here, `black` is used as an example.
435436

436437
```
437438
pipx run --spec git+https://github.com/psf/black.git black
439+
pipx run --spec git+ssh://[email protected]/psf/black black # using ssh
438440
pipx run --spec git+https://github.com/psf/black.git@branch black # branch of your choice
439441
pipx run --spec git+https://github.com/psf/black.git@ce14fa8b497bae2b50ec48b3bd7022573a59cdb1 black # git hash
440442
pipx run --spec https://github.com/psf/black/archive/18.9b0.zip black # install a release

0 commit comments

Comments
 (0)