Last active
June 30, 2022 19:25
-
-
Save loganlinn/ba5517759522578585830221e88c1658 to your computer and use it in GitHub Desktop.
github cli config
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
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