Git本地分支与远程分支

查看git pull,git push的分支
  git remote show origin

Git本地分支与远程分支

  git branch --set-upstream-to origin/分支名

原文地址:https://www.cnblogs.com/liuzheyan/p/12968422.html