Skip to content

Commit

Permalink
Auto merge of rust-lang#2767 - oli-obk:josh_auth, r=RalfJung
Browse files Browse the repository at this point in the history
Explain how to make josh authenticate with github via ssh

Without this I was unable to push, even though pushing directly to https without josh works.
  • Loading branch information
bors committed Jan 31, 2023
2 parents 02ded33 + 247a5f3 commit e57962f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/tools/miri/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,13 @@ josh-proxy --local=$HOME/.cache/josh --remote=https://github.com --no-background

This uses a directory `$HOME/.cache/josh` as a cache, to speed up repeated pulling/pushing.

To make josh push via ssh instead of https, you can add the following to your `.gitconfig`:

```toml
[url "git@github.com:"]
pushInsteadOf = https://github.com/
```

### Importing changes from the rustc repo

Josh needs to be running, as described above.
Expand Down

0 comments on commit e57962f

Please sign in to comment.