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

相關文章
相關標籤/搜索