无法使用 Travis CI 将部署从 Github 存储库推送到 CloudClontrol,以下是日志:
Deploying application
Warning: Permanently added 'cloudcontrolled.com' (RSA) to the list of known hosts.
To ssh://xxx.git
! [rejected] HEAD -> master (fetch first)
error: failed to push some refs to 'ssh://awesomeblog@cloudcontrolled.com/repository.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details
有没有办法强制硬推覆盖远程 git 的状态?
如果您需要查看完整日志,可以在此处找到它https://s3.amazonaws.com/archive.travis-ci.org/jobs/26330194/log.txt。请注意,相关日志在末尾。