]> git.lizzy.rs Git - rust.git/commitdiff
Fetch the pull request before checkout
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Tue, 15 Aug 2017 16:14:16 +0000 (18:14 +0200)
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Tue, 15 Aug 2017 16:14:16 +0000 (18:14 +0200)
CONTRIBUTING.md

index 8258b68841bbfe22ba967799c6d911c31c79769e..cac56203e740ded98291e7b718763a4fd37cb8b5 100644 (file)
@@ -309,7 +309,8 @@ a pull request against the broken project. When you have opened a pull request,
 you can point the submodule at your pull request by calling
 
 ```
-git checkout pulls/$id_of_your_pr/head
+git fetch origin pull/$id_of_your_pr/head
+git checkout pull/$id_of_your_pr/head
 ```
 
 within the submodule's directory. Don't forget to also add your changes with