ModernFix-fix/scripts/branchlist.sh
2026-05-06 18:19:17 -04:00

3 lines
159 B
Bash
Executable File

#!/bin/bash
git ls-remote --heads origin | awk '{print $2}' | grep -E '^refs/heads/[0-9]+\.' | sed 's:.*/::' | sort -V | grep -E '^[0-9]+\.[0-9]*(\.[0-9]*)?$'