GitHub意外情况1-warning: push.default is unset
来源:互联网 发布:ipadian 安装软件 编辑:程序博客网 时间:2024/05/16 10:53
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
事实上这并不会影响你push的结果,最终push还会成功,因为这只是一个”warning“
你可以按照他说的那样运行:git config --global push.default matching或者git config --global push.default simple命令,以后再push就不会有警告了。
下面说一下push.default matching和push.default simple的区别:
push.default设置maching的意思是:git push 会把你本地所有分支push到名称相对应的远程主机上。这意味着可能你会在不经意间push一些你原本没打算push的分支。
push.default设置成simple的意思是:git push仅仅把当前所在分支push到从当初git pull pull下来的那个对应分支上,另外,这个过程也会同时检查各个分支的名称是否相对应。
更详细的英文解释请看:http://stackoverflow.com/questions/13148066/warning-push-default-is-unset-its-implicit-value-is-changing-in-git-2-0
- 顶
- 1
- 踩
- GitHub意外情况1-warning: push.default is unset
- Git "warning: push.default is unset"
- Git warning push.default is unset
- warning: push.default is unset的解决方案
- Git warning push.default is unset
- warning: push.default is unset错误提示
- warning: push.default is unset错误提示
- 错误提示:warning: push.default is unset
- git push warning: push.default is unset 分析解决
- git push后提示warning: push.default is unset
- warning: push.default is unset; its implicit value is changing in
- warning: push.default is unset; its implicit value has changed in Git 2.0 from 'matching' to 'simple
- 错误:push.default is unset; its implicit 的解决
- git 问题 warning: push.default 尚未设置
- git warning: push.default ,Push 中 Matching & Simple 区别
- [Warning] TIMESTAMP with implicit DEFAULT value is deprecated.explicit_defaults_for_timestamp
- [Warning] TIMESTAMP with implicit DEFAULT value is deprecated.explicit_defaults_for_timestamp
- [Warning] TIMESTAMP with implicit DEFAULT value is deprecated.explicit_defaults_for_timestamp
- CodeBlock快捷键
- 【Codeforces Round #376 (Div. 2)】 Codeforces 731C Socks
- Python Paramiko模块安装和使用
- 64位Ubuntu kylin 16.04搭建nfs网络文件系统
- Java集合对象排序测试
- GitHub意外情况1-warning: push.default is unset
- 网络抓包工具: 提供界面,可抓取网络数据包并显示
- Spring的三种实例化Bean的方式
- 设计模式——代理模式详解(教你如何用正确的姿势逃课)
- 第一行代码笔记,第十一章------位置的探究
- Fresco简单的使用—SimpleDraweeView
- LTE系统信息(2)-SIB的周期调度
- poj 1995 Matrix Power Series 二分+矩阵快速幂
- ActionBar