Automic VaultAutomic Vault

brew

gitwatch を Homebrew, Nix でインストール

gitwatch のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install gitwatch

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#gitwatch

nixpkgs package indexes · pkgs/by-name/gi/gitwatch/package.nix · ソース: api.github.com

概要

パッケージ概要

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

コマンドとエイリアス

  • gitwatch

履歴

プロジェクトの歴史と使われ方

gitwatch is a small shell-script utility that watches a file or directory and automatically commits changes to an existing Git repository. Its history is the history of a practical automation wrapper: file-system notifications, a short delay, git add, git commit, and optional push.

プロジェクトの歴史

The gitwatch repository was created on GitHub in 2012 and kept the project's scope deliberately small. The official README describes it as a Bash script for watching a file or folder and committing changes to a Git repository.

Over time, the project added packaging and operating-system conveniences around that script. The README documents installation from source, bpkg, Arch AUR, NixOS, Docker, and user services for SysVInit and systemd, while keeping the central behavior as a long-running watch loop.

採用の歴史

gitwatch attracted users who wanted automatic history for files that are not normally managed through explicit Git commits. The README names configuration files and document files as examples, especially when an application writes changes without a clear save or apply workflow.

Package metadata in this batch shows Homebrew and Nix packaging, and the README documents additional community distribution through AUR and Docker. That is modest but real adoption for a niche automation script.

使われ方

Practitioners run gitwatch against a file or directory that already belongs to a Git repository. On Linux it uses inotifywait; on macOS the README points users to fswatch and coreutils through Homebrew.

A typical use is personal or small-team backup of frequently edited notes, dotfiles, or generated configuration. gitwatch waits briefly after a change to avoid racing partial writes, commits the changed file or directory contents, and can push to a remote when configured.

パッケージ好きにとっての重要性

gitwatch is package-nerd interesting because it is tiny Unix automation rather than a platform. It exposes Git as a low-friction append-only history mechanism for arbitrary local state.

The tool also illustrates the tradeoff that packagers like: one shell script plus standard utilities can cover a workflow that would otherwise invite a daemon, database, or bespoke sync service.

タイムライン

  • 2012: The gitwatch repository is created on GitHub.
  • 2020: The v0.1 tag appears in the repository tag history.
  • 2021: The README table of contents records active documentation work around installation and service usage.
  • 2024: NixOS module instructions are documented for service-style deployments.

Related projects

  • Git provides the repository and commit machinery used by gitwatch.
  • inotify-tools provides the inotifywait watcher used on Linux.
  • fswatch and GNU coreutils are documented as macOS requirements.
  • systemd, SysVInit, Docker, bpkg, AUR, and NixOS are documented deployment surfaces.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 2 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
gitwatchcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.6
マネージャ更新日2026-06-18
ローカルデータOK
上流最新
検出された最新v0.6

https://github.com/gitwatch/gitwatch

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:gitwatch
バージョン0.6
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/gitwatch
ホームページhttps://github.com/gitwatch/gitwatch
リポジトリhttps://github.com/gitwatch/gitwatch
上流ドキュメントhttps://github.com/gitwatch/gitwatch#readme
ライセンスGPL-3.0-or-later
ソースアーカイブhttps://github.com/gitwatch/gitwatch/archive/refs/tags/v0.6.tar.gz
最終更新2026-06-18T09:25:51+09:00
Pulseupdated
依存関係coreutils, fswatch
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegitwatch
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

gitwatch

nix profile install nixpkgs#gitwatch
  • normalized package name match
  • 一致条件: Gitwatch
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/gitwatch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment