dotfiles/common/users/homeModules/scripts/git_fetchAll.sh
2024-11-26 17:01:58 -05:00

3 lines
No EOL
174 B
Bash

git branch -r | grep -v '\->' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all