当我从本地分支推送时使用: git push 或 git push origin develop 命令
服务器也会返回:
To git.coding.net:maydaygjw/research-ui.git
! [rejected] develop -> refs/for/develop (fetch first)
error: failed to push some refs to 'git@git.coding.net:maydaygjw/research-ui.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
虽然使用git push origin develop:develop
工作正常但我实际上每次都拉
哪个开发分支跟踪本地配置中的远程开发分支:
❯ git branch -vv
* develop d48ec5f [origin/develop] fix
master a390f07 [origin/master: ahead 1] fix
但在Windows上,一切正常,我尝试了不同的git mac客户端,但都是这样的,这是mac os的错误吗?