Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
92033c73
Unverified
Commit
92033c73
authored
Aug 23, 2022
by
Randy Döring
Committed by
GitHub
Aug 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: mention how to add a git dependency with a subdirectory (#6218)
parent
a66f99e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
docs/cli.md
+7
-1
No files found.
docs/cli.md
View file @
92033c73
...
...
@@ -348,7 +348,13 @@ poetry add git+ssh://github.com/sdispater/pendulum.git#develop
poetry add git+ssh://github.com/sdispater/pendulum.git#2.0.5
```
or make them point to a local directory or file:
or reference a subdirectory:
```
bash
poetry add git+https://github.com/myorg/mypackage_with_subdirs.git@main#subdirectory
=
subdir
```
You can also add a local directory or file:
```
bash
poetry add ./my-package/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment