Welcome to mirror list, hosted at ThFree Co, Russian Federation.

clearLocalBranches.sh - github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4126fc8dc6fb5129b150c55e0cf9acc947727868 (plain)
1
2
3
4
#!/bin/bash
git checkout master
LANG=en_US
git branch -vv | grep ': gone]'|  grep -v "\*" | awk '{ print $1; }' | xargs -r git branch -d