相关疑难解决方法(0)

Git警告:push.default未设置; 它的隐含价值在变化

当我在Git中推送到远程时,我收到此警告:

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

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if …
Run Code Online (Sandbox Code Playgroud)

git push

56
推荐指数
2
解决办法
5万
查看次数

标签 统计

git ×1

push ×1