mirror of https://github.com/astral-sh/uv
<!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary The example in the docs for adding a git source with `--branch` fails because `main` doesn't exist. ```sh uv add git+https://github.com/encode/httpx --branch main # error: Git operation failed # Caused by: failed to fetch into: /Users/manzt/.cache/uv/git-v0/db/4c0b1441d92956e1 # Caused by: failed to fetch branch `main` # Caused by: process didn't exit successfully: `/usr/bin/git fetch --force --update-head-ok 'https://github.com/encode/httpx' '+refs/heads/main:refs/remotes/origin/main'` (exit status: 128) ``` This PR changes the example to the default branch for httpx, `master`. <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan N/A <!-- How was it tested? --> |
||
|---|---|---|
| .. | ||
| cache.md | ||
| dependencies.md | ||
| index.md | ||
| projects.md | ||
| python-versions.md | ||
| resolution.md | ||
| tools.md | ||
| workspaces.md | ||