Skip to content

Commit

Permalink
added quotes to pullrequest fetches
Browse files Browse the repository at this point in the history
  • Loading branch information
mechmind committed Apr 13, 2014
1 parent d746220 commit 7af0205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7af0205

Please sign in to comment.