mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Update specifying-dependencies.md
This commit is contained in:
parent
8a1d6fd2db
commit
89ca816e16
@ -140,7 +140,7 @@ Cargo will fetch the `git` repository at this location then look for a
|
|||||||
of a workspace and setting `git` to the repository containing the workspace).
|
of a workspace and setting `git` to the repository containing the workspace).
|
||||||
|
|
||||||
Since we haven’t specified any other information, Cargo assumes that
|
Since we haven’t specified any other information, Cargo assumes that
|
||||||
we intend to use the latest commit on the Default ("base") branch branch
|
we intend to use the latest commit on the default branch branch
|
||||||
to build our package, which may not necessarily be the main branch.
|
to build our package, which may not necessarily be the main branch.
|
||||||
You can combine the `git` key with the `rev`, `tag`, or `branch` keys to
|
You can combine the `git` key with the `rev`, `tag`, or `branch` keys to
|
||||||
specify something else. Here's an example of specifying that you want to use
|
specify something else. Here's an example of specifying that you want to use
|
||||||
|
Loading…
x
Reference in New Issue
Block a user