🖖 Features: - Master 'engage' script for one-command setup - 120+ CLI tools via Homebrew - 40+ Applications (casks + MAS apps) - Complete macOS system configuration - Security hardening and privacy settings - Obsidian knowledge vault setup - Comprehensive backup strategies - Automated symlink management Live long and prosper\! 🚀 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
569 B
Markdown
28 lines
569 B
Markdown
# Git Hooks
|
|
|
|
This directory contains global git hooks that can be used across all repositories.
|
|
|
|
## Setup
|
|
|
|
1. Configure git to use this directory for hooks:
|
|
```bash
|
|
git config --global core.hooksPath ~/dotfiles/git/hooks
|
|
```
|
|
|
|
2. Make hooks executable:
|
|
```bash
|
|
chmod +x ~/dotfiles/git/hooks/*
|
|
```
|
|
|
|
## Available Hooks
|
|
|
|
- `pre-commit`: Run before each commit
|
|
- `commit-msg`: Validate commit messages
|
|
- `pre-push`: Run before pushing
|
|
|
|
## Per-Repository Hooks
|
|
|
|
To use repository-specific hooks instead of global ones:
|
|
```bash
|
|
git config --local core.hooksPath .git/hooks
|
|
``` |