gitbutlerapp / gitbutler

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
https://gitbutler.com
Other
12.19k stars 472 forks source link

Add support for pre-push hooks in addition to pre-commit hooks #2842

Open gitbutler-client opened 6 months ago

gitbutler-client commented 6 months ago

would be great to have a feature for running pre-push hooks as well on push

https://discord.com/channels/1060193121130000425/1176875943873232947/1209554588072677376

will-mako-ai commented 5 months ago

+1

schacon commented 5 months ago

We have a bunch of plans for hooks, but we need to make sure the basic ones aren't problematic first. We'll get to pre-push. Here is our internal writeup around hooks if you're curious: https://github.com/gitbutlerapp/writeups/blob/main/240223-sc-git-hooks.md