about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2021-05-18 10:21:55 +0200
committerGitHub <noreply@github.com>2021-05-18 10:21:55 +0200
commit591145c28f3fcbf2d08023d18546b41eca40f08c (patch)
tree3d368d41d7e4e8fba6c5787562d42d94e8a51161
parent99fb776ace1a0d63d6a8843d549e802f218030cb (diff)
parentfd442c3f113f2e5dd799dad9488ba77f9b937630 (diff)
downloadrust-591145c28f3fcbf2d08023d18546b41eca40f08c.tar.gz
rust-591145c28f3fcbf2d08023d18546b41eca40f08c.zip
Rollup merge of #7237 - hi-rustin:rustin-patch-command, r=flip1995
Add the command to add upstream remote

changelog: none

Adding this command should better help new contributors.
-rw-r--r--doc/basics.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/basics.md b/doc/basics.md
index 5226875cc21..e2e307ce4f6 100644
--- a/doc/basics.md
+++ b/doc/basics.md
@@ -28,6 +28,8 @@ git clone git@github.com:<your-username>/rust-clippy
 If you've already cloned Clippy in the past, update it to the latest version:
 
 ```bash
+# If the upstream remote has not been added yet
+git remote add upstream https://github.com/rust-lang/rust-clippy
 # upstream has to be the remote of the rust-lang/rust-clippy repo
 git fetch upstream
 # make sure that you are on the master branch