Skip to content

Commit

Permalink
Editorial: simplify advice for pr/* branches
Browse files Browse the repository at this point in the history
Also fix the indentation.
  • Loading branch information
foolip committed Oct 3, 2016
1 parent 6f2c0e8 commit 270329d
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions TEAM.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,12 @@ To do all that, use these steps:

```
[remote "origin"]
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
```

If you change your mind later about globally enabling that behavior, you can disable it by removing those lines.

* Alternatively, to enable automatic fetch of branches in PRs from forks **just for this repo**, make the following addition to your `.git/config` file in this directory:

```diff
[remote "origin"]
url = [email protected]:whatwg/html.git
fetch = +refs/heads/*:refs/remotes/origin/*
+ fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
```

(Omit the `+` sign; it’s just `diff` syntax to get the markdown viewer to highlight the line.)
If you change your mind later about globally enabling that behavior, you can disable it by removing those lines.

* Alternatively, to enable automatic fetch of branches in PRs from forks **just for this repo**, omit `--global` from the above command.

2. Run `git fetch` or `git pull` to do the initial fetch of all branches for current PRs.

Expand Down

0 comments on commit 270329d

Please sign in to comment.