Skip to content

Commit 7af0205

Browse files
committed
added quotes to pullrequest fetches
1 parent d746220 commit 7af0205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This closes the issue and references the closing commit.
9494
If you want to check out pull request locally, you can fetch it using that command:
9595

9696
```bash
97-
$ git fetch origin +refs/pull/*/head:refs/pull/*
97+
$ git fetch origin '+refs/pull/*/head:refs/pull/*'
9898
```
9999

100100
then, checkout pr (i.e. 42) using
@@ -106,7 +106,7 @@ $ git checkout refs/pull/42
106106
Alternatively, you can fetch them as remote branches:
107107

108108
```bash
109-
$ git fetch origin +refs/pull/*/head:refs/remotes/origin/pr/*
109+
$ git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'
110110
```
111111

112112
and checkout as

0 commit comments

Comments
 (0)