Xcode升级提供了;警告:push.default未设置";当你推git的时候

Xcode升级提供了;警告:push.default未设置";当你推git的时候,xcode,git,Xcode,Git,我已经使用git一段时间了,它在我的存储库中运行得很好。但是,我最近升级到了XCode 7,现在当我尝试进行git推送时,我收到以下错误消息: 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

我已经使用git一段时间了,它在我的存储库中运行得很好。但是,我最近升级到了XCode 7,现在当我尝试进行
git推送时,我收到以下错误消息:

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 more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.

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 you sometimes use older versions of Git)

fatal: 'Develop_New_Car' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
我有
git版本2.3.3

运行git提供给我的
/usr/local/bin/git
A
git config--global push.default simple
应该足够了,但是XCode7可能不会像以前一样在同一个地方($HOME)寻找全局设置

在这种情况下,请至少尝试在XCode7管理的repo中本地设置该配置:

cd /path/to/my/git/repo
git config push.default simple

真正的问题在最后4行。剩下的只是一个关于默认行为改变的警告。我可以毫无问题地拉。我已经检查了权限,我确实有必要的权限
developer\u New\u Car
遥控器的名称是什么?当前命令是
git push Develop\u New\u Car
还是
git push Develop\u New\u Car