Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Explicitly define branch to install from #9

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

hendrikmaus
Copy link
Owner

Seems that for some users, cargo install --git assumes that the remote branch has to be master, so it fails on repositories with main as their default branch.

This change-set explicitly defines the branch to use by adding --branch to the install-from-source command example.

@hendrikmaus hendrikmaus added the documentation Improvements or additions to documentation label Dec 16, 2021
@hendrikmaus hendrikmaus self-assigned this Dec 16, 2021
@hendrikmaus
Copy link
Owner Author

Related to rust-lang/cargo#3517

@hendrikmaus hendrikmaus merged commit f2c7168 into main Dec 16, 2021
@hendrikmaus hendrikmaus deleted the provide-branch-to-install-from-source branch December 16, 2021 09:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant