Skip to content

Instantly share code, notes, and snippets.

@Lutzifer
Created June 10, 2025 07:54
Show Gist options
  • Save Lutzifer/3ce3710ec83cb5ba7e60a9a1de66bc11 to your computer and use it in GitHub Desktop.
Save Lutzifer/3ce3710ec83cb5ba7e60a9a1de66bc11 to your computer and use it in GitHub Desktop.
echo $(echo "digraph{"; gh pr list --json baseRefName,headRefName | python3 -m json.tool | grep RefName | cut -d ":" -f 2 | awk 'BEGIN {RS=""}{gsub(/,\n/," -> ",$0); print $0}' | sed 's/$/;/g'; echo "}";) | /usr/local/bin/graph-easy;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment