forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: note the costs of fetching all pull requests
Also, update the example to skip downloading the merge commits when downloading all PRs.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,11 +172,11 @@ When looking at other's pull requests, it may make sense to add the following se | |
|
||
``` | ||
[remote "upstream-pull"] | ||
fetch = +refs/pull/*:refs/remotes/upstream-pull/* | ||
fetch = +refs/pull/*/head:refs/remotes/upstream-pull/* | ||
url = [email protected]:bitcoin/bitcoin.git | ||
``` | ||
|
||
This will add an `upstream-pull` remote to your git repository, which can be fetched using `git fetch --all` or `git fetch upstream-pull`. Afterwards, you can use `upstream-pull/NUMBER/head` in arguments to `git show`, `git checkout` and anywhere a commit id would be acceptable to see the changes from pull request NUMBER. | ||
This will add an `upstream-pull` remote to your git repository, which can be fetched using `git fetch --all` or `git fetch upstream-pull`. It will download and store on disk quite a lot of data (all PRs, including merged and closed ones). Afterwards, you can use `upstream-pull/NUMBER/head` in arguments to `git show`, `git checkout` and anywhere a commit id would be acceptable to see the changes from pull request NUMBER. | ||
|
||
### Diff the diffs with `git range-diff` | ||
|
||
|