Page History
...
If you have added an "upstream" repository to your clone of your fork, as described above, here's a handy command to make checking out Pull Requests for testing purposes (inspired by this help page on the GitHub site):
Warning | ||
---|---|---|
| ||
Because of the high number of pull requests, the trick below results in a ~70MB download when you first checkout these pull request branches. Not recommended to do this on a low bandwidth connection. |
Code Block |
---|
git config --add remote.upstream.fetch +refs/pull/*/head:refs/remotes/upstream/pr/* # to fetch the pull requests, type this git fetch upstream # and to check out a PR, type this git checkout pr/248 # it's probably a good idea to make a new branch while you're checking out a PR, so do it this way git checkout pr/248 -b "DS-1597-PR-248-test-for-oracle-compatibility" # that is a suggested branch naming practice: start with the Jira issue number, follow with the PR number, and then finish with a brief description of what you're doing. |
...
Overview
Content Tools