I hereby claim:
- I am reistiago on github.
- I am reistiago (https://keybase.io/reistiago) on keybase.
- I have a public key whose fingerprint is 8C5E E26E 0328 4D54 7D2F 1FC5 87FF A0F8 1264 07D4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
for branch in $(git branch -a | sed 's/^\s*//' | sed 's/^remotes\///' | grep -v 'master$\|develop$'); do | |
if ! ( [[ -f "$branch" ]] || [[ -d "$branch" ]] ) && [[ "$(git log $branch --since "2 month ago" | wc -l)" -eq 0 ]]; then | |
name=$(echo "$branch" | sed 's/remotes\/origin\///') | |
git push origin --delete "${name}" | |
fi | |
done |