无法将更改推送到git openshift [英] Unable to push changes to git openshift

查看:122
本文介绍了无法将更改推送到git openshift的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,我可以这样做,但现在不行,例如,我可以将更改上传到openshift git.

Hi guys I could do that but not anymore i.e. I could upload changes to openshift git.

我尝试重置git repo,强制推送但没有成功.

I have tried resetting git repo, push by force but no success.

这是我得到的日志:

Amits-MacBook-Pro:api $ git push origin master --force

Amits-MacBook-Pro:api $ git push origin master --force

计数对象:33,完成.最多可使用4个线程进行Delta压缩.

Counting objects: 33, done. Delta compression using up to 4 threads.

压缩对象:已完成100%(32/32).书写对象:100%

Compressing objects: 100% (32/32), done. Writing objects: 100%

(33/33),1.46 MiB | 0字节/秒,完成.总计33(增量16),可重复使用0

(33/33), 1.46 MiB | 0 bytes/s, done. Total 33 (delta 16), reused 0

(增量0)远程:Postgres已经停止了远程:正在停止NodeJS

(delta 0) remote: Postgres already stopped remote: Stopping NodeJS

盒式遥控器:没有这样的文件或目录-

cartridge remote: No such file or directory -

/var/lib/openshift/.../app-deployments/2015-07-19_07-38-12.349/metadata.json

/var/lib/openshift/.../app-deployments/2015-07-19_07-38-12.349/metadata.json

到ssh://...@api-tmate.rhcloud.com/~/git/api.git/! [远程拒绝] 主机->主机(接收前挂钩被拒绝)错误:推送失败 某些引用到'ssh://...@api-tmate.rhcloud.com/~/git/api.git/'

To ssh://...@api-tmate.rhcloud.com/~/git/api.git/ ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'ssh://...@api-tmate.rhcloud.com/~/git/api.git/'

推荐答案

我遇到了相同的现象,但是我注意到,当我在"--no-auto-deploy"模式下运行时,这种情况正在发生.当我将其改回自动部署时,生命周期执行确保了推送的预期效果.

I experienced the same phenomenon but I noticed it was happening when I was running in '--no-auto-deploy' mode. When I changed it back to auto-deploy, the life-cycle execution ensured the expected effect of the push.

这篇关于无法将更改推送到git openshift的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆