When reviewing or testing code submitted in a pull request
Check-out for review
- Add remote, fetch, and checkout branch for pull request (example: pull-request number 12345)
- hub checkout https://github.com/apache/incubator-trafodion/pull/12345
Note: this may give an error if using git older than 1.7.3.
- hub checkout https://github.com/apache/incubator-trafodion/pull/12345
- Alternatively, run as multiple steps, using the repo and branch indicated on the github pull request page
- hub fetch git-user branch
- git checkout FETCH_HEAD
Related articles
Content by label
There is no content with the specified labels