git pull

  1. # 合并指定分支到当前分支
  2. $ git pull . topic/branch

即使当前分支有没有 commit 的变动,也可以使用git pull从远程拉取分支。