Skip to content

Instantly share code, notes, and snippets.

@hyrious
Last active August 8, 2023 05:20
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 hyrious/7149a946f60f87a70523eaf01398c2f5 to your computer and use it in GitHub Desktop.
Save hyrious/7149a946f60f87a70523eaf01398c2f5 to your computer and use it in GitHub Desktop.
Get current commit's PR url (to that commit)
echo "$(gh pr view --json url -q .url)/commits/$(git rev-parse --short HEAD)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment