git pull error (no local branch)
来源:互联网 发布:windows安装hadoop2.7 编辑:程序博客网 时间:2024/06/06 04:02
Error:
$ git pull
Password:
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.
Solution:
view ./git/config
no section
1[branch"master"]
2remote= origin
3merge= refs/heads/master
Run commands below
1$ git config branch.master.remote origin
2$ git config branch.master.merge refs/heads/master
- git pull error (no local branch)
- git pull wrong branch cause merge error
- git pull all branch
- eclipse git报错git The current branch is not configured for pull No value for key branch.master.merge
- eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found
- git 解决The current branch is not configured for pull No value for key branch.master.merge found in co
- git pull出现There is no tracking information for the current branch
- git pull时报错There is no tracking information for the current branch
- git pull出现There is no tracking information for the current branch
- Pull error. No value for key branch.master.merge found in configuration
- Git git pull error
- Git hub pull时候的错误 : The current branch is not configured for pull No value for key branch.master.mer
- Git hub pull时候的错误 : The current branch is not configured for pull No value for key branch.master.me
- GIT Error pulling: Your local changes to the following 解决GIT PULL冲突
- Git: Delete a branch (local or remote)
- [Git]将remote branch强制更新到local branch
- (git问题)解决The current branch is not configured for pull No value for key remote.origin
- Git pull error:Your local changes to the following files would be overwritten by merge解决方法
- Java读取xml文件的四种方法
- 一起学docker(1)--简介
- Eclipse 使用 Maven 的 dependency source code 进行 debug
- 页面常用的JS和异步请求(一)
- Android Studio 自动升级 gradle 失败解决方案
- git pull error (no local branch)
- Zookeeper(6)-Zookeeper 存储与client
- 字符串出现的次数
- 手把手教React Native实战之44API学习-网络状态与数据交互
- 关于网络连接Network的使用
- Git - Your branch and 'origin/xxx' have diverged
- Storm中的一些概念
- poj1330 裸LCA
- 使用 JQuery 返回页面顶部