- git push 可能出现以下:
$ git push
warning: push.default is unset; its implicit value has changed in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the traditional behavior, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
Since Git 2.0, Git defaults to the mo

在Git 2.0及以上版本中,push.default的默认值从'matching'变为'simple',导致push时出现警告。为消除警告并保持原有行为,可以设置push.default为'unset';若想采用新设置,可设为'simple'。但即使设置后,首次push可能仍需执行额外命令。
最低0.47元/天 解锁文章
1755

被折叠的 条评论
为什么被折叠?



