git为本地分支设置对应的远程分支

当运行git pull时,如果本地分支没有绑定远程分支,将无法正常pull。
运行命令如下:
git branch --set-upstream-to=origiin/branchName

原文地址:https://www.cnblogs.com/mrnx2004/p/10905959.html