Skip to content

git pre-commit section #749

@jburns24

Description

@jburns24

Should introduce the topic of git hooks

Talk about the benefit of pre-commits

Talk about considerations with them

  • They should run very quickly if they get too long they will become an annoyance

Frameworks for managing githooks

  • do it manually
  • leverage a system like pre-commit
    • Talk about the security concerns of pre-commit (remote code execution)
    • Implement precommits yourself in a taskfile/makefile with pre-commit config wrapping these calls (Pre-commit runs hooks in parallel by default)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions