当我尝试将新创建的文件推送到 GitHub 存储库时,出现以下错误,为什么会出现此错误?

时间:2021-02-09 13:34:49

标签: github

我不明白为什么会出现这个错误,请帮忙。 以前我已经将许多文件推送到我的 gitHub 存储库中。仅此一次出现错误。

 ! [rejected] gh-pages -> gh-pages (fetch first)
    error: failed to push some refs to 'https://github.com/Subhra-commits/Coursera_Course.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.

0 个答案:

没有答案