зеркало из https://github.com/golang/dep.git
fix .netrc example
This commit is contained in:
Родитель
d9ce240c02
Коммит
969c1e39d0
|
@ -169,7 +169,8 @@ and configure it inside the [`.netrc` file](https://www.gnu.org/software/inetuti
|
||||||
as the following example:
|
as the following example:
|
||||||
```
|
```
|
||||||
machine github.com
|
machine github.com
|
||||||
login [YOUR_GITHUB_TOKEN]
|
login [YOUR_GITHUB_USERNAME]
|
||||||
|
password [YOUR_GITHUB_TOKEN]
|
||||||
```
|
```
|
||||||
|
|
||||||
Once you have set that up, dep will automatically use that Token to authenticate to the repositories.
|
Once you have set that up, dep will automatically use that Token to authenticate to the repositories.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче