Git使用问题:You asked to pull from the remote 'origin', but did not specify a branch......
pull时报错
You asked to pull from the remote ‘origin’, but did not specify a branch. Because this is not the default configured remote for your current branch, you must specify a branch on the command line.
解决方法
在本地repository目录下打开gitbash,分别输入如下指令
git config --global push.default current
git push -u
问题应该能解决了
Git使用问题:You asked to pull from the remote 'origin', but did not specify a branch......相关推荐
- You asked to pull from the remote ‘origin‘, but did not specify a branch. Because this is not the de
You asked to pull from the remote 'origin', but did not specify a branch. Because this is not the de ...
- git小乌龟pull报错 You asked to pull from the remote ‘origin‘...
[up to date] master -> origin/master You asked to pull from the remote 'origin', but did ...
- 解决git添加远程仓库提示出错信息:fatal: remote origin already exists
解决git添加远程仓库提示出错信息:fatal: remote origin already exists. 解决办法如下:1.先输入$ git remote rm origin2.再输入$ git ...
- You asked to pull from the remote ‘‘master‘‘, but did not specify a branch
You asked to pull from the remote 'xxx', but did not specify a branch 操作如下 添加远程分支 $git pull xxx mast ...
- 关于提示:You asked to pull from the remote 'xxx', but did not specify a branch.
but did not specify a branch. $git remote add xxx git@github.com:lewhy2004/test $git pull xxx 提示如下: ...
- eclipse The current branch is not configured for pull No value for key remote.origin
2019独角兽企业重金招聘Python工程师标准>>> 在使用 eclipse git pull 项目的时候 : 出现 The current branch is not confi ...
- Git上传代码报错Push rejected: Push to origin/master was rejected
Git上传代码报错Push rejected: Push to origin/master was rejected 是因为你当前的项目中有和和历史不符的东西, 所以才被拒绝了 解决方案 git pu ...
- Git 技术篇 - git remote修改、移除仓库源的使用方法,git添加仓库源提示fatal: remote origin already exists.问题解决
通过 git remote remove origin 即可移除仓库源,再添加就好了. 更多使用方法可以直接通过 git remote -h 来进行查看. $ git remote -h usage: ...
- Git 之fatal: remote origin already exists 错误解决办法(通俗易懂)
今天使用git 添加远程github仓库的时候提示错误:fatal: remote origin already exists 原因是你的电脑可能已经存在一个本地仓库了,现在上传的仓库和之前的仓库不一 ...
最新文章
- Wiz开发 定时器的使用与处理
- CodeWarrior 初探(1) USBDM 芯片检测
- 基数排序及其思想 C++代码实现及分析 恋上数据结构笔记
- java自带的xml解析_Java自带的XML解析
- 艾特某人代码实现_Vue@某人,At某人,仿新浪微博@某人,@user,艾特,艾特某人...
- pat 甲级 1072. Gas Station (30)
- SAP License:CO07利润中心必输
- 个人所得税计算及多人避税问题
- 复变函数知识总结(1)——序言和准备知识
- 怎么把视频压缩到最小的详解
- 线上生成电子签名具体方法
- 安装gms 的拨号盘
- RK3288开发板PopMetal上的GPIO驱动实例
- MAC MacVim及Vundle安装
- 分享idea中一些好用的插件
- PHP通过phpspreadsheet读取Excel文件
- 什么是Precision和Recall和FPR和TPR?
- ctfhub-->命令注入练习
- 服务器信息备份更新,电子病历服务器双机更换及实时备份与HIS服务器升级改造合同备案...
- 工业互联网 - SIS系统
热门文章
- Pyecharts(v0.5.X)---简介
- java二嗨租车项目_JAVA 第二季项目作业-租车系统
- 第三讲、Jmeter的两种脚本录制方法
- POI 导出 excel 设置单元格背景色 的坑
- JS 获取元素下指定的子元素
- mysql 10055 解决_mysql 10055 错误解决方案
- 第一篇 如何选择深度学习主机
- uniapp、uview——图片上传(单图上传、多图上传、多组照片上传、图片回显)
- oracle中负数的四舍五入,oracle中round()四舍五入
- centos gdb调试_Linux基础 30分钟GDB调试快速突破