Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
add httpx
example with real git branch (#8756)
<!-- 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? -->
- Loading branch information