Skip to content

post commands or overwriting default commands #4768

Answered by stefanhaller
mrwsl asked this question in Q&A
Discussion options

You must be logged in to vote

No, this is another example where #4753 could be helpful.

But you could replace lazygit's default commands with custom commands that perform the same action using git command line calls, and then do whatever additional thing you want to do. For something like creating or changing worktrees this should work reasonably well; for other commands that do more complex things, it might not.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mrwsl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants