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......相关推荐

  1. 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 ...

  2. 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 ...

  3. 解决git添加远程仓库提示出错信息:fatal: remote origin already exists

    解决git添加远程仓库提示出错信息:fatal: remote origin already exists. 解决办法如下:1.先输入$ git remote rm origin2.再输入$ git ...

  4. 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 ...

  5. 关于提示: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 提示如下: ...

  6. 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 ...

  7. Git上传代码报错Push rejected: Push to origin/master was rejected

    Git上传代码报错Push rejected: Push to origin/master was rejected 是因为你当前的项目中有和和历史不符的东西, 所以才被拒绝了 解决方案 git pu ...

  8. Git 技术篇 - git remote修改、移除仓库源的使用方法,git添加仓库源提示fatal: remote origin already exists.问题解决

    通过 git remote remove origin 即可移除仓库源,再添加就好了. 更多使用方法可以直接通过 git remote -h 来进行查看. $ git remote -h usage: ...

  9. Git 之fatal: remote origin already exists 错误解决办法(通俗易懂)

    今天使用git 添加远程github仓库的时候提示错误:fatal: remote origin already exists 原因是你的电脑可能已经存在一个本地仓库了,现在上传的仓库和之前的仓库不一 ...

最新文章

  1. Wiz开发 定时器的使用与处理
  2. CodeWarrior 初探(1) USBDM 芯片检测
  3. 基数排序及其思想 C++代码实现及分析 恋上数据结构笔记
  4. java自带的xml解析_Java自带的XML解析
  5. 艾特某人代码实现_Vue@某人,At某人,仿新浪微博@某人,@user,艾特,艾特某人...
  6. pat 甲级 1072. Gas Station (30)
  7. SAP License:CO07利润中心必输
  8. 个人所得税计算及多人避税问题
  9. 复变函数知识总结(1)——序言和准备知识
  10. 怎么把视频压缩到最小的详解
  11. 线上生成电子签名具体方法
  12. 安装gms 的拨号盘
  13. RK3288开发板PopMetal上的GPIO驱动实例
  14. MAC MacVim及Vundle安装
  15. 分享idea中一些好用的插件
  16. PHP通过phpspreadsheet读取Excel文件
  17. 什么是Precision和Recall和FPR和TPR?
  18. ctfhub-->命令注入练习
  19. 服务器信息备份更新,电子病历服务器双机更换及实时备份与HIS服务器升级改造合同备案...
  20. 工业互联网 - SIS系统

热门文章

  1. Pyecharts(v0.5.X)---简介
  2. java二嗨租车项目_JAVA 第二季项目作业-租车系统
  3. 第三讲、Jmeter的两种脚本录制方法
  4. POI 导出 excel 设置单元格背景色 的坑
  5. JS 获取元素下指定的子元素
  6. mysql 10055 解决_mysql 10055 错误解决方案
  7. 第一篇 如何选择深度学习主机
  8. uniapp、uview——图片上传(单图上传、多图上传、多组照片上传、图片回显)
  9. oracle中负数的四舍五入,oracle中round()四舍五入
  10. centos gdb调试_Linux基础 30分钟GDB调试快速突破