VCS/GIT
[GIT] 전체 브랜치 Pull
HoZang
2024. 8. 30. 09:24
[GIT] 전체 브랜치 Pull
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