From 7af0205e65ec52efbd87d82a800152d98008419b Mon Sep 17 00:00:00 2001 From: mechmind Date: Sun, 13 Apr 2014 16:27:11 +0400 Subject: [PATCH] added quotes to pullrequest fetches --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64c3671..99b4602 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ This closes the issue and references the closing commit. If you want to check out pull request locally, you can fetch it using that command: ```bash -$ git fetch origin +refs/pull/*/head:refs/pull/* +$ git fetch origin '+refs/pull/*/head:refs/pull/*' ``` then, checkout pr (i.e. 42) using @@ -106,7 +106,7 @@ $ git checkout refs/pull/42 Alternatively, you can fetch them as remote branches: ```bash -$ git fetch origin +refs/pull/*/head:refs/remotes/origin/pr/* +$ git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*' ``` and checkout as