【发布时间】:2016-03-09 06:53:36
【问题描述】:
我在 Android Studio 上做了一个项目并将文件推送到 Github。我的同事可以拉那个项目并且可以工作。我自己对项目进行了一些更改,提交了但是当我推送时,它给了我以下错误
推送被拒绝:推送到源/主服务器被拒绝
我正在研究 linux
我试过 git push -u origin master 我收到以下错误
To https://github.com/devilape/Iimpacttest.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/devilape/Iimpacttest.git'
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.
【问题讨论】:
-
git update执行成功了吗?
标签: android linux git android-studio github