Last active
June 19, 2021 00:42
-
-
Save mmizutani/881b7f59762eb7ab50c35b5674f66672 to your computer and use it in GitHub Desktop.
github-cli-interactive-checkout-alias.sh
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
# Interactively checkout a pull request branch using GitHub CLI | |
$ brew install gh fzf | |
$ gh alias set co --shell 'id="$(gh pr list -L100 | fzf | cut -f1)"; [ -n "$id" ] && gh pr checkout "$id"' | |
$ gh co | |
> 2160 Sign Windows .exes in a post-build hook mbpreble:sign-windows-executables OPEN | |
2261 pr status: show number of approvals despreston:des/approval-count OPEN | |
3044 Isolate test suite from environment variables env-tests DRAFT | |
3045 [hackday] mergeconflict hackday2102 DRAFT | |
3064 Allow `gh auth git-credential` to authenticate GitHub Gist requests gist-auth DRAFT | |
3091 fork: Ask what protocol to use when git_protocol and remote disagree MarijnS95:prefer-git_protocol-over-remote OPEN | |
3340 Refactor GH_HOST handling fix-regression DRAFT | |
3344 Allow editing commit subject when squash-merging a PR cristiand391:allow-edit-commit-subject OPEN | |
3498 Refactor how we shell out to `git push` during pr create git-push-mocks DRAFT | |
3519 Add table and helper template functions heaths:issue3488 OPEN | |
3557 Add support for GITHUB_REPOSITORY austindrenski:gh-repo-fallback-to-github-repository-for-github-actions OPEN | |
3610 Start to work on a solution for gh secret load-file env matrixise:issue_3579_add_secret_load_file DRAFT | |
3640 Fix/handle img tags g14a:fix/handle-img-tags DRAFT | |
3689 Testing: validate our GraphQL queries against GHES schema graphql-validate DRAFT | |
3706 PR auto-merge improvements cristiand391:improve-automerge OPEN | |
3746 Feature/create repo with gitignore license g14a:feature/repo-with-gitignore-license OPEN | |
3773 Feature/Create browse command bchadwic:first-browse-pull OPEN | |
3779 Add ability to dial API via unix socket jgold-stripe:unix OPEN | |
3785 Search for compiled binary when invoking extension extensions-executable DRAFT | |
3807 repo fork: check that --org is not the empty string camillesf:nonempty_fork_org OPEN | |
3813 Add repo sync command repo-sync OPEN | |
3822 feat: add GPG key management commands owenvoke:feature/gpg-key OPEN | |
3827 Add headers and new columns on `gh pr checks` ganboonhong:pr-checks-run-id OPEN | |
3833 Add `run cancel` command cristiand391:gh-run-cancel OPEN | |
3850 Print help even if logged out chemotaxis:fix-actions-help OPEN | |
25/25 (0) | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment