Skip to content

Instantly share code, notes, and snippets.

@hantoine
Created March 3, 2023 17:14
Show Gist options
  • Save hantoine/92d5cbe7ed58e4984b119dee0be6f3d7 to your computer and use it in GitHub Desktop.
Save hantoine/92d5cbe7ed58e4984b119dee0be6f3d7 to your computer and use it in GitHub Desktop.
Github CLI Aliases
alias ghopen='gh pr view -w '
alias ghcreate="git publish && gh pr create --body-file ${MLPV2_DIR}/.github/pull_request_template.md --fill --draft && sleep 1 && ghopen"
alias ghstate="gh pr status --json state | jq -r '.currentBranch.state'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment