0

尝试将文件添加到我的存储库中,当它返回时被拒绝

! [rejected] master -> master (non-fast-forward) error: failed to push
some refs to 'SITE' hint: Updates were rejected because the tip of
your current branch is behind hint: its remote counterpart. Merge the
remote chsanges (e.g. 'git pull') hint: before pushing again.

我试过 git pull 并没有更新我的本地文件。有人可以帮忙吗?

4

1 回答 1

1

尝试git fetch如果git pull不起作用,git rebase然后您应该能够将您的更改推送到远程仓库。

于 2012-11-28T21:37:45.897 回答