oh-my-git/levels/bottom-up/ref-move/goal

3 lines
96 B
Text

for REF in $(git for-each-ref --format='%(refname)'); do
git update-ref "$REF" "$TREE"
done