【发布时间】:2015-10-28 17:23:18
【问题描述】:
所以我的文件被上传到了 git-GUI。按提交工作正常。单击按钮并询问我的目标存储库,所以我输入https://github.com/myusername/reposistoryname 然后按回车,然后它会询问我的用户名和密码。输入这些项目后,我收到此错误消息。
Pushing to https://github.com/myusername/reposistoryname
To https://github.com/myusername/reposistoryname
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/emaoll/pnz'
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.
我有一个 github 帐户以及 github 上的存储库。
【问题讨论】:
-
它告诉你应该做什么!