Skip to content

Commit eadf6dc

Browse files
authored
Merge pull request #2369 from rust-lang/tshepang-patch-1
add rdg push git config entry for git protocol pushers
2 parents a2cc4ae + 8e8bc1d commit eadf6dc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,16 @@ Older versions of `josh-proxy` may not round trip commits losslessly so it is im
9191
3) Push the branch to your fork and create a PR into `rustc-dev-guide`
9292
9393
### Push changes from this repository into `rust-lang/rust`
94+
95+
NOTE: If you use Git protocol to push to your fork of `rust-lang/rust`,
96+
ensure that you have this entry in your Git config,
97+
else the 2 steps that follow would prompt for a username and password:
98+
99+
```
100+
101+
insteadOf = "https://github.com/"
102+
```
103+
94104
1) Run the push command to create a branch named `<branch-name>` in a `rustc` fork under the `<gh-username>` account
95105
```
96106
cargo run --manifest-path josh-sync/Cargo.toml rustc-push <branch-name> <gh-username>

0 commit comments

Comments
 (0)