1
error: failed to push some refs to 'git@173.255.206.222:apal.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again.  See the
'Note about fast-forwards' section of 'git push --help' for details.
4

1 回答 1

2

您需要先从远程服务器中提取更改,然后才能推送更改。因此,您应该git pull --rebase将您的更改重新设置在远程更改之上。然后就可以推了。

于 2013-10-05T05:46:47.890 回答