使用git pull 或者 git push 的时候报错

gitThere is no tracking information for the current branch.

Please specify which branch you want to merge with.

See git-pull(1) for details

git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream-to=origin/<branch> merged0.9.6

是因为本地分支和远程分支没有建立联系  (使用git branch -vv  可以查看本地分支和远程分支的关联关系)  .根据命令行提示只需要执行以下命令即可

git branch --set-upstream-to=origin/远程分支的名字 本地分支的名字

例如

git branch --set-upstream-to=origin/master master

转载于:https://www.cnblogs.com/520playboy/p/7538106.html

git pull出现There is no tracking information for the current branch相关推荐

  1. Git之提示There is no tracking information for the current branch.

    1 问题 我项目比如是0.2分支,我需要修改项目的git地址,然后再pull新的代码 1)修改github地址(读者可以忽略) 1.git remote 查看所有远程仓库 2.git remote r ...

  2. 使用 git pull 拉代码时提示:There is no tracking information for the current branch.

    问题描述:使用 git pull 拉代码时提示:. $ git pull There is no tracking information for the current branch. Please ...

  3. git pull 下拉代码报错 There is no tracking information for the current branch. Please specify which branc

    git pull 下拉代码报错 There is no tracking information for the current branch. Please specify which branch ...

  4. git遇到的问题 .Git: There is no tracking information for the current branch.

    码云的基本操作 Git是目前世界上最先进的分布式版本控制系统.(http://www.cnblogs.com/tugenhua0707/p/4050072.html)具体可以看这个 1.Git: Th ...

  5. There is no tracking information for the current branch

    如何处理clone github仓库时遇到的这个错误信息? There is no tracking information for the current branch. Please specif ...

  6. 解决问题:There is no tracking information for the current branch

    目录 一.问题 二.解决方法 方法一 方法二 方法三 一.问题 执行 git pull 遇到如下报错提示: There is no tracking information for the curre ...

  7. 多种方法解决There is no tracking information for the current branch的错误

    文章目录 1. 复现错误 2. 分析错误 3. 解决错误 3.1 远程有分支 3.2 远程无分支 4. 总结 1. 复现错误 今天发布某版本的项目,准备创建个v0point1分支,后期如果修改该版本, ...

  8. 解决 Git: There is no tracking information for the current branch.的问题

    在执行git pull的时候,提示当前branch没有跟踪信息: 解决方案一 指定远程master git pull origin master 解决方案二 先指定本地master到远程的master ...

  9. git pull 时出现:There is no tracking information for the current branch. Please specify which branch...

    因为本地分支和远程分支没有建立联系 (使用git branch -vv 可以查看本地分支和远程分支的关联关系) 根据命令行提示只需要执行以下命令即可: git branch --set-upstrea ...

最新文章

  1. #pragma pack(n) 的作用
  2. Linux 知识点滴
  3. MySQL快速查询的12条建议,让你不止会用select *
  4. caffe预测、特征可视化python接口调用
  5. 理解 redis 中的 哈希对象类型
  6. java编写某计算器控制台程序_用java程序编写一个计算器
  7. spark RDD,reduceByKey vs groupByKey
  8. 从四个问题透析Linux下C++编译链接
  9. [再mark] 系统注册的dpc,枚举定时器相关的……
  10. resnet 25 训练人脸识别
  11. mysql 模糊查询之特殊字符下划线 _
  12. html考勤表格模板,Excel员工考勤表模板如何撤销工作表保护?
  13. android经典动态壁纸,Android动态壁纸解析
  14. 50行实现C语言FM收音机-Taskbus Stdio封装器在SDR课程中的应用
  15. plc-st编程语言学习_这就是您可以学习所有编程语言的方式,是的-“全部”
  16. 实现宏offsetof()
  17. 万用表怎么测量电池容量_万用表怎么检测电池容量_电池电量
  18. (36个知识点)关于《浏览器基本原理与实践》的读后总结
  19. 博主介绍技术圈子博文整理
  20. 2004年美国二十五所最热门高校大盘点

热门文章

  1. linux 自学系列: 常用文件结构
  2. 经典SQL自定义函数
  3. 在.net中使用GDI+来提高gif图片的保存画质
  4. 调试JDK源码-Hashtable实现原理以及线程安全的原因
  5. 实现HTTP协议Get、Post和文件上传功能——使用WinHttp接口实现
  6. vc6静态库的生成和调用
  7. 【Go】Go基础(十):文件读写
  8. 【Qt】通过QtCreator源码学习Qt(四):插件管理PluginManager
  9. 【Qt】QImage加载bmp位图数据
  10. html使用highcharts绘制饼图,html js highcharts绘制圆饼图表