netrc belong to curl
parent
09564eb6da
commit
c15d913042
|
@ -0,0 +1,15 @@
|
|||
# [curl](https://curl.haxx.se/)
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | ------- |
|
||||
| Arch Linux | `curl` |
|
||||
| Ubuntu | `curl` |
|
||||
| Homebrew | `curl` |
|
||||
|
||||
Add credentials, edit `~/.netrc`:
|
||||
|
||||
```txt
|
||||
machine example.com
|
||||
login user
|
||||
password password
|
||||
```
|
|
@ -27,11 +27,3 @@ In world of corporation, we work with private repository, add to `~/.bashrc`, `~
|
|||
```sh
|
||||
export GOPRIVATE=private.git.com
|
||||
```
|
||||
|
||||
Last hope, use `~/.netrc`:
|
||||
|
||||
```txt
|
||||
machine private.git.com
|
||||
login your_user
|
||||
password your_password
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue