1 查看当前所在的分支 git branch -a
2 切换到想到的分支 git checkout 分支名1
3 拉取分支2上的代码 git pull origin 分支名2
4 查看日志 git log