github / github/gh-stack

Git hook messages aren't displayed

未关闭
#346 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug topic: cli - push
主要语言
Go
星标
1.5k
派生
70
平均合并
1 天 8 小时
30 天内合并 PR
7

描述

The stack CLI suppresses git hook output, which is confusing when the hooks are slow and frustrating when the hooks fail. For example, a `gh stack push` that fails because of a hook just outputs

```
❯ gh stack push
Skipping 1 merged branch
Pushing 2 branches to origin...
✗ failed to push: failed to run git: error: failed to push some refs to 'github.com:...'
```

贡献指南

打开贡献指南

调研方向

首先使用 `gh stack push` 和一个运行缓慢或失败的 Git hook 重现该问题,然后跟踪 stack CLI 如何运行 Git 命令以及如何处理这些命令的输出。当命令执行期间能够看到 hook 消息,并且 hook 失败时仍保留有用的输出,同时继续报告 push 失败时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
66/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。