如何解决错误“stdout

编程入门 行业动态 更新时间:2024-10-23 06:24:47
如何解决错误“stdout |(How to solve a error “stdout | fatal: A branch named 'deploy-old' already exists.”)

当使用git资源时,我得到以下错误:

INFO : Recipe: /Users/ironsand/dev/itamae_myserver/recipe.rb ERROR : stdout | fatal: A branch named 'deploy-old' already exists. ERROR : Command `cd /opt/my_project && git branch -m deploy-old` failed. (exit status: 128) ERROR : git[/opt/my_project] Failed.

如何解决问题?

When using git resource I got following error:

INFO : Recipe: /Users/ironsand/dev/itamae_myserver/recipe.rb ERROR : stdout | fatal: A branch named 'deploy-old' already exists. ERROR : Command `cd /opt/my_project && git branch -m deploy-old` failed. (exit status: 128) ERROR : git[/opt/my_project] Failed.

How to solve the problem?

最满意答案

为了解决这个问题,我登录了服务器并删除了deploy-old分支。

ssh my_server cd /opt/my_project sudo git branch -d deploy-old

之后,我可以无误地应用食谱。

To solve the problem I login the server and delete the branch deploy-old.

ssh my_server cd /opt/my_project sudo git branch -d deploy-old

After that I could apply the recipe without error.

更多推荐

本文发布于:2023-08-07 17:58:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465074.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何解决   错误   stdout

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!