git查看各个branch之间的关系

1.pull全部branchgit

for remote in `git branch -r `; do git branch --track $remote; donecode

for remote in `git branch -r `; do git checkout $remote ; git pull; doneip

2.查看branch之间关系rem

git log --graph --all --decorate --simplify-by-decoration --onelineget

branch - Track all remote git branches as local branches - Stack Overflowit

branch - Relationship between n git branches - Stack Overflowio

相关文章
相关标签/搜索