Git 提示 You asked me to pull without telling me which branch you...
Git 大约 714 字错误信息
Git
未关联本地分支与远程分支,报错如下:
You asked me to pull without telling me which branch you
want to merge with, and 'branch.master.merge' in
your configuration file does not tell me, either. Please
specify which branch you want to use on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.
If you often merge with the same branch, you may want to
use something like the following in your configuration file:
[branch "master"]
remote = <nickname>
merge = <remote-ref>
[remote "<nickname>"]
url = <url>
fetch = <refspec>
See git-config(1) for details.
解决办法
git branch --set-upstream master origin/master
阅读 4663 · 发布于 2019-03-25
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
Java 测试迭代集合耗时阅读 2895
-
Spring Boot 配置静态资源获取路径阅读 320
-
OpenResty 整合 LuaRocks - Windows10阅读 3151
-
Spring Boot 配置文件中读取变量的优先级阅读 246
-
Linux 统计文本行数阅读 1428
-
minikube 使用 Hyper-V 安装迷你版 Kubernetes 集群阅读 1821
-
Redis删除数据后内存不释放解决方法阅读 3295
-
Spring Boot 注入 Filter 过滤器的几种方式阅读 330
-
Kubernetes 本地开发调试框架集合阅读 490
-
Spring @EventListener 加载流程阅读 1472