#Git
17 related articles

Codex 0.162 Lets Models Create Their Own Git Worktrees—But the Working Directory Stays Put
Codex CLI 0.162 adds create_worktree tools, letting models build Git worktrees mid-task while the working directory stays unchanged. Async operation IDs, permissions, and verification steps explained.

Split a Coding Agent's Giant Commit With git history split
Git 2.54's experimental git history split lets you pick hunks like git add -p, splitting an AI agent's giant commit into separate commits and auto-migrating downstream branches—no interactive rebase needed. Full demo and limitations included.

Git Commits Succeed but Husky Hooks Silently Fail: The Worktree Trap and a Multi-Layer Defense
A full analysis of Husky hooks silently failing in Git worktrees: why core.hooksPath is correct but pre-commit never runs, plus a four-layer defense for AI agent fleets with reusable verification and repair scripts.

Landing an Agent Branch and Rolling It Back Cleanly: A Git Playbook for When CI Disagrees
What to do when an AI coding agent's merge turns CI red: revert strategies for squash vs merge commits, gh CLI commands, and the revert-merge trap to avoid.

Multi-Agent Parallel Development: Solve a Git Conflict Once with rerere
In multi-agent parallel development, the same file conflict keeps recurring? Git rerere records a conflict resolution once and replays it automatically in later merges and rebases, cutting manual resolutions from three to one.

Fixing AI Drift with Git Hooks: Geoffrey Huntley's Forced Agent Correction Technique
Geoffrey Huntley proposes using pre-commit hooks to scan git diffs and stop AI coding agents from bypassing the diagnostics library to call observability modules directly — turning agent behavior from drift to perfect, more reliably than constantly updating AGENTS.md.

Why Git Is Essential for AI-Assisted Development: Version Rollbacks, Branch Management, and AI-Generated Commands Explained
Discover why Git is essential for AI programming. Learn how version rollbacks handle model hallucinations, how branch management enables safe experimentation, and how AI tools like Doubao can generate Git commands from natural language.

Git 2.56 Highlights: A Dual Upgrade in Performance and Developer Experience
Git 2.56 is out. GitHub's official blog highlights the key new features and improvements. Learn what's new, why it matters, and how to upgrade safely.

commit-rewriter 0.2 Released: Now Supports Rewriting Git Commits on Any Branch
commit-rewriter 0.2 adds a --branch flag to rewrite Git commit history on any branch, not just the default. A focused update addressing a real developer pain point.

Two Git Ignore Files You've Been Overlooking: Global and Local Exclude Configuration
Beyond .gitignore, Git offers a global exclude file via core.excludesFile and a per-repo private .git/info/exclude. Learn how all three layers work and when to use each.

commit-rewriter 0.1: An Open-Source Tool for Batch Rewriting Git Commit Messages
commit-rewriter 0.1 is an open-source Git commit batch-rewriting Web tool by Simon Willison. Run it instantly with uvx to clean AI agent cruft and private refs, with timestamped backup branches for safe rollback.
TutorialsMaster Git Without Coding: 5 Plain-Language Commands to Let AI Handle Version Control for You
How can coding beginners use natural language to operate Git? With just 5 plain-language commands via an AI assistant, handle initialization, saving, rollback, branching, and pushing to GitHub—zero experience required.
TutorialsThe Complete Guide to Git & GitHub Core Concepts: Version Control in the AI Era
A systematic guide to Git and GitHub core concepts covering Commit, Branch, Merge, Pull Request and more. Master version control from local repos to remote collaboration using AI.
TutorialsGetting Started with Git and GitHub in VS Code: A Beginner's Guide to Version Control
Learn how to use Git and GitHub in VS Code for version control, covering repo setup, commits, branching, Pull Requests, and best practices for beginners.
TutorialsGit Data Model Documentation in Practice: An Open-Source Documentation Improvement Method Based on User Feedback
Julia Evans wrote a 1600-word Git data model doc and recruited 80 test readers to improve git push, git pull man pages using evidence-based documentation methods.
Deep DivesWill Frequent Git Commits Fill Up Your Hard Drive? Delta Compression & Packfile Mechanism Explained
Will frequent Git commits fill your hard drive? Deep dive into Git's Delta compression and Packfile mechanism, revealing why pure code commits cost almost nothing and identifying the real culprit — large binary files.
Tech FrontiersOpenClaw's Six Rename History: Tracing an Open Source Project's Naming Evolution Through Git Commit Records
OpenClaw went through six renames from Warelay to its final name. Simon Willison used a Python script to reconstruct this complete naming evolution from Git commit history.