社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  Git

无法将更改推送到GitHub

csb00 • 4 年前 • 302 次点击  

因此,我正在创建一个简单的俄罗斯方块游戏,并试图将我的更改推到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.
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/49219
 
302 次点击  
文章 [ 1 ]  |  最新文章 4 年前