最佳答案
我现在不能推,虽然我昨天可以做。
当我使用git push origin master
时,我得到一个错误:
$ git remote -vorigin https://github.com/REDACTED.git (fetch)origin https://github.com/REDACTED.git (push)
$ git push origin masterUsername for 'https://github.com': REDACTEDPassword for 'https://REDACTED@github.com':To https://github.com/REDACTED.git! [rejected] master -> master (non-fast-forward)error: failed to push some refs to 'https://github.com/REDACTED.git'hint: Updates were rejected because the tip of your current branch is behindhint: its remote counterpart. Integrate the remote changes (e.g.hint: 'git pull ...') before pushing again.hint: See the 'Note about fast-forwards' in 'git push --help' for details.
我的工作目录和远程存储库是什么样子的: