百度今天更新很大
2012-09-01 18:23
281 查看
在执行 git push 时看到如下消息:
经百度后,得知‘matching’ 参数是 Git 1.x 的默认行为,其意是如果你执行 git push 但没有指定分支,它将 push 所有你本地的分支到远程仓库中对应匹配的分支。而
Git 2.x 默认的是 simple,意味着执行 git push 没有指定分支时,只有当前分支会被 push 到你使用 git pull 获取的代码。
根据提示,修改git push的行为:
再次执行git push 得到解决。
warning: push.default is unset; its implicit value is changing in Git 2.0 from 'matching' to 'simple'. To squelch this message and maintain the current behavior after the default changes, use: git config --global push.default matching To squelch this message and adopt the new behavior now, use: git config --global push.default simple
经百度后,得知‘matching’ 参数是 Git 1.x 的默认行为,其意是如果你执行 git push 但没有指定分支,它将 push 所有你本地的分支到远程仓库中对应匹配的分支。而
Git 2.x 默认的是 simple,意味着执行 git push 没有指定分支时,只有当前分支会被 push 到你使用 git pull 获取的代码。
根据提示,修改git push的行为:
git config --global push.default matching
再次执行git push 得到解决。
相关文章推荐
- Ext JS3.3.0刚出不久今天就匆忙更新到了Ext JS3.3.1,改动不多关系却很大..
- 今天,终于又有时间更新飞鸽传书了。
- android官方文档译文, 同步更新中(百度阅读免费领取)
- 百度编辑器UEEDITOR使用简单介绍 UEditor表单提交和后台交互详解 最后更新对应的版本:1.2.5.1 教程描述: 富文本编辑器的使用开发中,表单提交有多种场景,编辑器初始化有新增文章和编辑
- 今天重装系统后,Wdows更新提示“windows update当前无法检查更新,因为未运行服务。您可能需要重新启动计算机”
- 对我影响很大的博客(持久更新)
- 百度今天结果 当初早已注定
- 今天她微信更新了,穿着的是她最爱的蓝色,小指的戒指还在,但是食指多了个戒指。
- 让百度重新收录的快速方法每天更新网站和做外链
- 1.百度150道题,今天开刷。1.用C语言实现一个revert函数,它的功能是将输入的字符串在原串上倒序后返回。
- Android实战——轻松集成百度自动更新SDK,只需3步
- EFI启动安装方式更新 今天对Windows7进行了一次升级
- 百度和谷歌更新日期时间,让你网站收录加快以及排名上升
- 更新网站标题解决百度索引每天都增加快照不更新360搜索和搜狗不收录
- 十月百度,阿里巴巴,迅雷搜狗最新面试十一题(每日更新中)(转)
- 百度2014校招笔试题目题解(更新了第1题的算法,10.9下午) .
- 我今天就要离开我的这个公司了 不知道什么时候才能更新blog
- 2016年9月下旬校园招聘面经(美团、百度、58同城、华为、微店 11月10号更新)
- 以前一直用的别人的分页控件今天自己写了个方便自己(更新)使用正则表达式处理URL参数
- 让百度重新收录的快速方法每天更新网站和做外链