Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 2eca4b3

Browse files
committed
Direct users to modify dependencies via files rather than CLI commands
The former seems to be falling out of favor, and may confuse users about which is preferable to use.
1 parent cb849a7 commit 2eca4b3

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,29 +55,19 @@ files](docs/FAQ.md#what-external-tools-are-supported) to convert
5555

5656
### Day-to-day workflow
5757

58-
When you or a collaborator add/remove/change dependencies, run
58+
When you or a collaborator add/remove/change dependencies by modifying
59+
your `import`s or `Gopkg.toml`, run
5960

6061
```sh
6162
$ dep ensure
6263
```
6364

6465
This will synchronize your dependencies in `vendor/` to make sure they match
6566
what's in your `import`s and `Gopkg.toml`. `dep ensure` is safe to run early and
66-
often.
67-
68-
#### Updating a specific dependency
69-
70-
To update a dependency to a new version, you might run
71-
72-
```sh
73-
$ dep ensure github.com/pkg/errors@^0.8.0
74-
```
75-
76-
See the help text for more detailed usage instructions.
67+
often. See the help text for more detailed usage instructions.
7768

7869
```sh
7970
$ dep help ensure
80-
$ dep ensure -examples
8171
```
8272

8373
## Feedback

0 commit comments

Comments
 (0)