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
阅读 5020 · 发布于 2019-03-25
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
PhpStorm 设置大括号不换行阅读 7613
-
Spring Boot @Scheduled 定时任务阅读 4892
-
Java 推断资源的 Content-Type阅读 1417
-
MongoDB 备份、还原与导出、导入阅读 6103
-
JavaScript 获取 HTML 中的文字字数阅读 45
-
Android 混淆 proguard.cfg阅读 4044
-
JMeter 设置统一请求地址阅读 1817
-
Spring Boot 实现 SSE 服务端推送事件阅读 5163
-
Kubernetes 网络代理工具 Telepresence 安装及升级阅读 904
-
IDEA 一直卡在 Reopening files 对话框解决方法阅读 3704