Commit 6cd4e05e by Torsten Rudolf Committed by GitHub

document ssh connection for git dependencies (#3389)

Co-authored-by: Steph Samson <hello@stephsamson.com>
parent 2aab9bcd
...@@ -98,6 +98,13 @@ flask = { git = "https://github.com/pallets/flask.git", rev = "38eb5d3b" } ...@@ -98,6 +98,13 @@ flask = { git = "https://github.com/pallets/flask.git", rev = "38eb5d3b" }
numpy = { git = "https://github.com/numpy/numpy.git", tag = "v0.13.2" } numpy = { git = "https://github.com/numpy/numpy.git", tag = "v0.13.2" }
``` ```
To use an SSH connection, for example in the case of private repositories, use the following example syntax:
```toml
[tool.poetry.dependencies]
requests = { git = "git@github.com:requests/requests.git" }
```
## `path` dependencies ## `path` dependencies
To depend on a library located in a local directory or file, To depend on a library located in a local directory or file,
......
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