简体   繁体   English

部署OpsWorks应用程序时,Chef :: Exceptions :: UnresolvableGitReference错误

[英]Chef::Exceptions::UnresolvableGitReference error when Deploying an OpsWorks app

I only posting this to help others, since I already have the answer; 因为我已经有了答案,所以我只发布这个来帮助别人。 no up votes needed. 无需投票。

I encountered this error message in my OpsWorks logs after a deployment error: 部署错误后,我在OpsWorks日志中遇到此错误消息:

Chef::Exceptions::UnresolvableGitReference: Unable to parse SHA reference for '*branch name*' in repository '*repository name*'

Simple solution. 简单的解决方案。 Like a bonehead, I had forgotten to push the branch in question to the remote (origin) repository. 就像骨头一样,我忘了将有问题的分支推送到远程(原始)存储库。

In other news, today is my 308th birthday (okay, maybe I'm not that Samuel Johnson). 在其他新闻中,今天是我的308岁生日(好吧,也许我不是那个塞缪尔·约翰逊)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM