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

Personal access token alternative #2226

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,13 @@ machine github.com

Once you have set that up, dep will automatically use that Token to authenticate to the repositories.

A last alternative could be to force your git configuration to use your token for any access to github :
```
git config --global url."https://<your_personal_access_token>@github.com".insteadOf "https://github.com"
```
You have to replace <your_personnal_access_token> with the token value in this command.
After this, any call to github with https will use your token, dep one included.

## How do I get dep to authenticate via SSH to a git repo?

You can rewrite the repo url and use the git+ssh shema with follow example:
Expand Down