netrc belong to curl

main
hau 2020-08-11 19:47:49 +07:00
parent 09564eb6da
commit c15d913042
2 changed files with 15 additions and 8 deletions

View File

@ -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
```

View File

@ -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
```