Is there a way to run a command on each commit in ...
# how-do-i
m
Is there a way to run a command on each commit in a stack?
k
you beat me to it: but let me rephrase: each "branch" in a stack. use case is running something like
mvn clean install
after a
gt sync
or
gt restack
to make sure that the rebase didn't break anything.
p
I don't think so, but this would be cool!
👍 2
We used to have
gt test
which did something to that degree (but for running tests) but I think we rolled it back iirc