Skip to content

Add support for Git Hooks #1186

Closed
Closed
@crutchcorn

Description

@crutchcorn

I'd love to see support for the git hooks. Some of these hooks are:

  • pre-commit
  • prepare-commit-msg
  • commit-msg
  • post-commit
  • post-merge
  • pre-push

And others. They can be found via this resource and this resource in a more "plain-english" way.

I'm willing to implement this functionality, however, I'm wondering what the API should look like. Do we want to look for the related files and run them with spawn? Do we want to make pre-X and post-X actions and utilize a plugin-like system and provide this logic as an additional package? What do we think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions