Filip Prochazka
12/17/2025, 2:33 PMgt modify (which they expect essentially does git add . && git commit --amend) on their repo with pre_commit hooks (that do some validation), it doesn't correctly run the pre_commit how he expects (on the combined code of unstaged changes and whats already been commited before - the branch is single commit created with gt create), instead his code switches back to the already commited version as if he did git stash (visible when his IDE is open) for like half a second
what exactly does gt modify do under the hood (for the --all option)? is there a way to see commands gt executes with git under the hood?Pylon
12/17/2025, 2:34 PMgt feedback --with-debug-context <any message>Filip Prochazka
12/17/2025, 2:36 PMgit commit -a --amend when it happens to workaround it because the pre_commit hook keeps failingPylon
12/17/2025, 7:52 PM--debug flag to your gt commands. Also to be clear, they are running gt modify -a to stage and commit or just gt modify?Filip Prochazka
12/18/2025, 7:57 AMgt modify and then selecting the first option (I think that's the All)