-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
In practice, I've noticed a couple different gotchas with adherence to some of the conventions of git-topics that could be prevented with the right hooks, which git topics setup could install if the user wants them:
- Prevent direct commits on develop: generally you actually want to make further commits on a topic branch and re-merge it. That way, the fixes will still go to master when you finish the topic.
- Prevent untagged pushes to master: in my environment, deploys automatically pull from master, not a specific tag, so pushing out master prematurely es no bueno.