# gitwatch/gitwatch

Watch a file or folder and automatically commit changes to a git repo easily.

Repository: https://github.com/gitwatch/gitwatch
Canonical: https://ross.abutalabs.com/products/gitwatch
Language: Shell
License: GPL-3.0
License Family: copyleft
Topics: git, autocommit
Last push: 2026-08-13T12:42:46+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 64, longevity 100
- inputs: {"age_days": 5065, "days_push": 20, "days_rel": 83, "gap_med": 136, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1736, forks 223 (observed 2026-08-28T04:05:29.071713+00:00)

## What it is
gitwatch is a bash script that watches a file or folder for changes and automatically commits them to a git repository. It provides convenient version tracking for files like configs and documents without manual git operations.

## Use cases
- automatically commit config file changes to git
- track document edits with version history
- auto-commit files when saving in editors without git support
- keep a running history of a folder's changes
- run as a systemd service to continuously watch directories

## When to choose
- you want automatic, hands-off git commits for files or folders
- you need version history for tools that overwrite configs without undo
- you prefer a lightweight shell script over heavier sync tools

## When to avoid
- you need fine-grained commit messages or manual commit control
- you want cross-machine file sync rather than local version tracking
- your project already has a proper git workflow with human commits

## Facets
- artifact type: cli-tool
- maturity: active
- function: version-control, developer-tools, workflow-automation, file-system
- domain: developer-tools, version-control, files
- platform: cli
- tags: git, autocommit, file-watching, shell-script, backup, automation, linux, macos, docker

## Member repositories
- gitwatch/gitwatch (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:29.071713+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:30:41.242196+00:00, confidence not recorded.
  - readme: https://github.com/gitwatch/gitwatch (fetched 2026-08-28T04:05:29.071713+00:00, sha bba3487b6ae4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
