我在Android Studio上創建了一個項目並將文件推送到Github。我的同事們可以拉動這個項目並且可以工作。我做了該項目的幾個改變自己,致力於但是當我推開,它給了我下面的錯誤Android Studio推送到Github
Push rejected: Push to origin/master was rejected
我工作在Linux上
我試着混帳推-u起源主 我碰到下面的錯誤
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'執行成功嗎? – Raptor
[Git push error'\ [remote rejected \] master - > master(branch is currently checked out)']可能重複'](http://stackoverflow.com/questions/2816369/git-push-error-remote-rejected -master-master-branch-is-currently-checked) – paulsm4