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

Commit

Permalink
Add the git+ssh rewrite config settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxlife authored Jun 8, 2018
1 parent 902d09c commit 6ed6f49
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,16 @@ machine github.com

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

## 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:

```
git config --global url."[email protected]:".insteadOf "https://github.yourEnterprise.com/"
```


## Behavior

### How does `dep` decide what version of a dependency to use?
Expand Down

0 comments on commit 6ed6f49

Please sign in to comment.