Commit 156cd666 by William Hayes Committed by GitHub

Added git ssh example to docs

Added a cli add git ssh dependency example to documentation for easy reference.
parent 60202f1b
...@@ -200,6 +200,12 @@ You can also add `git` dependencies: ...@@ -200,6 +200,12 @@ You can also add `git` dependencies:
poetry add git+https://github.com/sdispater/pendulum.git poetry add git+https://github.com/sdispater/pendulum.git
``` ```
or use ssh instead of https:
```bash
poetry add git+ssh://git@github.com/sdispater/pendulum.git
```
If you need to checkout a specific branch, tag or revision, If you need to checkout a specific branch, tag or revision,
you can specify it when using `add`: you can specify it when using `add`:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment