【发布时间】:2011-05-15 22:12:36
【问题描述】:
可能重复:
Github first push problem… how to merge remote changes?
我的外部仓库已经过时了。我想将我所有的本地更改推送到上游。但是,当我尝试这样做时,我收到以下消息...
error: failed to push some refs to 'ssh://mylink'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again.
我不想拉,因为如果我这样做,那些外部更改会弄乱我的本地更改。如何覆盖外部?
【问题讨论】:
-
其他人在使用远程仓库吗?
标签: git