githooks
Project · tool · 2024
githooks is a small collection of Git hooks, wired up through the Python pre-commit framework:
- commit-msg rejects empty commit messages;
- pre-commit runs ShellCheck on shell scripts, when it is installed;
- post-merge confirms a merge has finished.
They are simple on purpose, as templates for project-specific checks.
See also
In the knowledge graph
githooks and the 5 things it is linked to. Open any dot for its page, or explore it in the full graph.
As data
Everything on this page is read from triples in the knowledge graph. These are the 17 it states about githooks, and 1 more its ontology implies; the console runs SPARQL over the whole graph, here in your browser.
@prefix id: <https://ask.chaipat.cc/id/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix cj: <https://ask.chaipat.cc/ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . id:GitHooks a cj:Project ; rdfs:label "githooks" ; cj:description "Collection of Git pre-commit hooks." ; cj:context id:OpenSource ; cj:repository "https://github.com/AppleBoiy/githooks"^^xsd:anyURI ; cj:firstCommit "2024-08-08"^^xsd:date ; cj:lastCommit "2024-08-08"^^xsd:date ; cj:commitCount 2 ; cj:kind "tool" ; cj:theme id:ThemeDevOps ; cj:uses id:Python , id:ShellCheck ; cj:tier 3 ; cj:mentions id:DevEnv ; cj:article "https://ask.chaipat.cc/wiki/GitHooks"^^xsd:anyURI ; cj:activeIn id:Y2024 ; cj:activity _:b66 .