Skip to content

Instantly share code, notes, and snippets.

@loganlinn
Last active June 30, 2022 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loganlinn/ba5517759522578585830221e88c1658 to your computer and use it in GitHub Desktop.
Save loganlinn/ba5517759522578585830221e88c1658 to your computer and use it in GitHub Desktop.
github cli config
aliases:
pv: pr view --web
land: pr merge --squash --delete-branch
config-export: '!cat ~/.config/gh/config.yml | jq --raw-input --slurp -r "{files: {\"config.yml\": {content: .}}}" | gh api -X PATCH /gists/ba5517759522578585830221e88c1658 --input - | jq .html_url | xargs open'
clone: |-
!mkdir -p "${CODE}/$1" && gh repo clone "$1" "${CODE}/$1"
v: repo view --web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment