sajad torkamani
posts
Count number of local Git branches
7 July 2026 (Updated 7 July 2026)
git for-each-ref refs/heads | wc -l
Tagged:
Git recipes