因此,我正在创建一个简单的俄罗斯方块游戏,并试图将我的更改推到GitHub我通过Github站点创建了repo,我可以添加和提交我的更改,但是我不能向master推送有人知道为什么吗这是我在终端收到的信息:
~/Desktop/xxxxxxxx/tetris$ git push -u origin master
To https://github.com/xxxxx/TetrisReact
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/xxxxx/TetrisReact'
hint: Updates were rejected because the tip of your current branch is behind
hint: 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.