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:...'
```

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing the issue with `gh stack push` and a Git hook that is slow or fails, then trace how the stack CLI runs Git commands and handles their output. Done means hook messages are visible during the command and hook failures retain useful output while still reporting the push failure.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
go
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
66/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。