【发布时间】:2016-08-23 18:54:53
【问题描述】:
我正在尝试设置atoms git-plus 包,并且已经完成了我认为合适的设置步骤,并且无法将文件推送到我的github 帐户。使用 git config,我已经配置了 user.email 和 user.name,并确保它们反映了我在 Github 中的帐户和电子邮件地址
我收到一条错误消息:
To https://github.com/etc.
![rejected] HEAD -> master (fetch first)
error: failed to push some refs to https://github.com etc.
Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing to the same ref. You may want o first integrate the remote changes e.g. git pull before pushing again.
新的存储库是刚刚创建的测试存储库。我尝试了 git pull,然后尝试通过 git-plus 推送它。我试图删除本地副本并通过克隆再次创建它。我可以使用终端推送文件。 我对版本控制知之甚少,不知道下一步该做什么。有什么想法吗?
【问题讨论】:
标签: git github atom-editor