Skip to content

Instantly share code, notes, and snippets.

@simonespa
Created May 14, 2025 08:42
Show Gist options
  • Select an option

  • Save simonespa/2b081b01cc21f4278153f47977318908 to your computer and use it in GitHub Desktop.

Select an option

Save simonespa/2b081b01cc21f4278153f47977318908 to your computer and use it in GitHub Desktop.
GIT commands

Get the name of the branch containing this commit

git branch -a --contains 9f12d89998fbd38a3fd3a1d21e7b028b9659c107

Search this commit in the PR

gh pr list --search "${SHA}" --state merged gh pr list --search 9f12d89998fbd38a3fd3a1d21e7b028b9659c107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment