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):
Code Block |
---|
git config —add--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