about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--book/src/development/infrastructure/release.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/book/src/development/infrastructure/release.md b/book/src/development/infrastructure/release.md
index 7c2fd29b5f9..0572281803e 100644
--- a/book/src/development/infrastructure/release.md
+++ b/book/src/development/infrastructure/release.md
@@ -28,7 +28,7 @@ tree of the Clippy repository.
 To find out if this step is necessary run
 
 ```bash
-# Assumes that the local master branch is up-to-date
+# Assumes that the local master branch of rust-lang/rust-clippy is up-to-date
 $ git fetch upstream
 $ git branch master --contains upstream/beta
 ```
@@ -56,7 +56,8 @@ determined.
 
 ```bash
 # Assuming the current directory corresponds to the Rust repository
-$ git checkout beta
+$ git fetch upstream
+$ git checkout upstream/beta
 $ BETA_SHA=$(git log --oneline -- src/tools/clippy/ | grep -o "Merge commit '[a-f0-9]*' into .*" | head -1 | sed -e "s/Merge commit '\([a-f0-9]*\)' into .*/\1/g")
 ```