oh-my-git/levels/ref-remove/goal

4 lines
91 B
Text
Raw Normal View History

2020-09-15 22:35:14 +02:00
for REF in $(git for-each-ref --format='%(refname)'); do
git update-ref -d "$REF"
done