Skip to content

Commit e57962f

Browse files
committed
Auto merge of rust-lang#2767 - oli-obk:josh_auth, r=RalfJung
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.
2 parents 02ded33 + 247a5f3 commit e57962f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/tools/miri/CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,13 @@ josh-proxy --local=$HOME/.cache/josh --remote=https://github.com --no-background
242242

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

245+
To make josh push via ssh instead of https, you can add the following to your `.gitconfig`:
246+
247+
```toml
248+
[url "git@github.com:"]
249+
pushInsteadOf = https://github.com/
250+
```
251+
245252
### Importing changes from the rustc repo
246253

247254
Josh needs to be running, as described above.

0 commit comments

Comments
 (0)