0
Completed

Git-Flow: support hooks

yummytea1 5 months ago updated by Daniel Siegl 4 months ago 5

I'm trying to add hooks for the git-flow process, but they do not seem to be run when using smartgit.

I assumed smartgit uses gitflow-avh since the docs refer to it (here). So I added a pre-flow-feature-start hook to simply write to a file when a new feature is started (as described here). This works fine from the CLI, but with smartgit nothing happens.

Log window Working Tree window Improve Git commands

Answer

+1
Answer

Did you try to enable "pre-installed" Git-Flow in preferences?

Image 876

GOOD, I'M SATISFIED
Satisfaction mark by yummytea1 4 months ago

Hi,

Thank you for your Feedback! The archive you reference is "archived" - is there a maintaned set around?

Cheers

Daniel

This repo is still being maintained: https://github.com/CJ-Systems/gitflow-cjs

I bet there are others.

Anyway, is there a way to have git hooks for git-flow actions in smartgit? That'd be very handy.

+1
Answer

Did you try to enable "pre-installed" Git-Flow in preferences?

Image 876

+1

That's it! Enabling that option made it work.

Thanks a lot!

Completed

Awesome! 
We are always happy to help!