Skip to content

Commit

Permalink
docs: add git subdirectory example to add command
Browse files Browse the repository at this point in the history
  • Loading branch information
estyrke authored and abn committed Mar 1, 2024
1 parent 53bf89a commit 54d52e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/poetry/console/commands/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class AddCommand(InstallerCommand, InitCommand):
- A git url (<b>git+https://github.com/python-poetry/poetry.git</b>)
- A git url with a revision\
(<b>git+https://github.com/python-poetry/poetry.git#develop</b>)
- A subdirectory of a git repository\
(<b>git+https://github.com/python-poetry/poetry.git#subdirectory=tests/fixtures/sample_project</b>)
- A git SSH url (<b>git+ssh://github.com/python-poetry/poetry.git</b>)
- A git SSH url with a revision\
(<b>git+ssh://github.com/python-poetry/poetry.git#develop</b>)
Expand Down

0 comments on commit 54d52e4

Please sign in to comment.