标签:查看 question code lin git pull tac rem 关系 -o
1.pull所有branch
for remote in `git branch -r `; do git branch --track $remote; done
for remote in `git branch -r `; do git checkout $remote ; git pull; done
2.查看branch之间关系
git log --graph --all --decorate --simplify-by-decoration --oneline
branch - Track all remote git branches as local branches - Stack Overflow
branch - Relationship between n git branches - Stack Overflow
标签:查看 question code lin git pull tac rem 关系 -o
原文地址:http://www.cnblogs.com/jiangz/p/6798759.html