Skip to main content
Prepare the local cache and configure Gat’s Git hooks and . Run this in every clone; Git does not copy repository-local integration. See Automatic sync for hook triggers and fetching behavior.
Re-running init updates the integration to match the supplied flags. --no-hooks removes existing Gat-managed hooks while preserving other hook code. --example-config creates a commented gat.yaml only if none exists.
Wait for the Git process to finish. Gat leaves an existing configuration lock intact; remove a stale lock only after confirming that no process owns it.

Usage

Examples

Install Gat’s normal Git integration and initialize the local cache.