What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-19 17:15:05
gitlab stale branches api script
for branch in `git branch -r | grep -v HEAD`; do \ echo -e `git show --format="%cr %an" $branch | head -n 1` \\t$branch; \ done | \ grep -e '.. months' -e '[8-9] months' | grep 'origin/' | \ sed 's/.*origin\///' | \ xargs -n 1 echo g... Add solution