ModernFix/scripts/branchlist.sh
2023-07-12 19:30:37 -04:00

3 lines
121 B
Bash
Executable File

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