https://github.com/cerchie/gh-pr-checkout-tutorial
A tutorial for learning how to use `gh pr checkout`
https://github.com/cerchie/gh-pr-checkout-tutorial
Last synced: 3 months ago
JSON representation
A tutorial for learning how to use `gh pr checkout`
- Host: GitHub
- URL: https://github.com/cerchie/gh-pr-checkout-tutorial
- Owner: Cerchie
- License: mit
- Created: 2022-05-14T01:40:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-17T23:21:18.000Z (about 4 years ago)
- Last Synced: 2025-10-11T02:08:33.956Z (9 months ago)
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-pr-checkout-tutorial
A tutorial for learning how to use `gh pr checkout`
Step 1. [Install the Github CLI](https://github.com/cli/cli#installation).
Step 2. `git clone https://github.com/Cerchie/gh-pr-checkout-tutorial.git`
Step 3. From the current working directory of this project, run ` gh auth login`, follow the authentication flow, then run `gh pr checkout 1`. This command checks out the branch that the first pull request on this repo is made from. Voila! You've got `gh pr checkout` in the bag. 👜