Skip to content

Commit

Permalink
docs: add git subdirectory example to add command
Browse files Browse the repository at this point in the history
(cherry picked from commit 54d52e4)
  • Loading branch information
estyrke authored and github-actions[bot] committed Apr 30, 2024
1 parent c354cfa commit 0ee2ccc
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 0ee2ccc

Please sign in to comment.