post-commit
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-10.)
post-commit has 29 facts recorded in Dontopedia across 2 references, with 2 live disagreements.
Mostly:executes command(4), rdf:type(2), located in(1)
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (13)
Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.
partOfPart of(4)
- Script Comment
ex:script-comment - Script Comment2
ex:script-comment2 - Script Comment3
ex:script-comment3 - Script Comment4
ex:script-comment4
containsContains(2)
- Git Hooks
ex:git-hooks - Git Hooks Directory
ex:git-hooks-directory
createdByCreated by(2)
- Backup Directory
ex:backup-directory - Backup Directory
ex:backup-directory
appliedToApplied to(1)
- Chmod Action
ex:chmod-action
implementedByImplemented by(1)
- Backup Logic
ex:backup-logic
providesExampleProvides Example(1)
- Source Document
ex:source-document
targetFileTarget File(1)
- Create File Action
ex:create-file-action
triggersTriggers(1)
- Git Commit Event
ex:git-commit-event
Other facts (28)
The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.
| Predicate | Value | Ref |
|---|---|---|
| Executes Command | Mkdir Command | [1] |
| Executes Command | Git Rev Parse Command | [1] |
| Executes Command | Cp Command | [1] |
| Executes Command | Echo Command | [1] |
| Rdf:type | Script | [1] |
| Rdf:type | Script | [2] |
| Located in | Git Hooks Directory | [1] |
| Contains Variable | Backup Dir Variable | [1] |
| Has Shebang | #!/bin/bash | [1] |
| Script Type | bash | [1] |
| Triggered by | Git Commit Event | [1] |
| Script Language | bash | [1] |
| Has Shebang Line | #!/bin/bash | [1] |
| Language | bash | [2] |
| Purpose | backup | [2] |
| Creates Directory | Backup Directory | [2] |
| Command Used | mkdir -p | [2] |
| Gets Commit Hash | Latest Commit Hash | [2] |
| Command for Commit Hash | git rev-parse HEAD | [2] |
| Copies Files | Backup Directory | [2] |
| Copy Command | cp -r | [2] |
| Backup File Name Pattern | commit-hash-filepath | [2] |
| Outputs Message | Backup created for commit | [2] |
| Requires Executable Permission | true | [2] |
| Chmod Command | chmod +x | [2] |
| Location | model_repo/.git/hooks/post-commit | [2] |
| Part of | Git Hooks | [2] |
| Uses Loop | For Loop | [2] |
Timeline
Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
References (2)
ctx:claims/beam/e7b46c25-102e-4365-a394-571e682ce0b7ctx:claims/beam/774aa520-1c23-417d-bf36-f2810f799391- full textbeam-chunktext/plain1 KB
doc:beam/774aa520-1c23-417d-bf36-f2810f799391Show excerpt
Here's an example of what the `post-commit` script might look like: ```bash #!/bin/bash # Define the backup directory BACKUP_DIR="project_backups" # Ensure the backup directory exists mkdir -p "$BACKUP_DIR" # Get the latest commit hash …
See also
Keep researching
Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.