當我更改某些文件並嘗試進行推送時,我開始出現'未能推送某些文件'的錯誤。大多數指令都告訴先做git pull。我已經做到了,git說一切都是最新的。任何想法如何解決錯誤?我也開始收到'沒有版本信息'的消息,我不知道這與錯誤有什麼關係。Git:雖然我已經完成了git pull,但未能推送一些文件
git push origin master
git: /usr/local/lib/libz.so.1: no version information available (required by git)
Enter passphrase for key '/root/.ssh/id_rsa':
To [email protected][mydomain].beanstalkapp.com:/repo-git.git
! [rejected] master -> master (non-fast forward)
error: failed to push some refs to '[email protected][mydomain].beanstalkapp.com:/repo-git.git'
如果克隆在另一個倉庫,會發生什麼位置和tr喲,推動它? – Intrepidd