Skip to content

Hooks #1

@ajvondrak

Description

@ajvondrak

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:

  1. 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.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions