[KongchangAI]

#Git

17 related articles

Codex 0.162 Lets Models Create Their Own Git Worktrees—But the Working Directory Stays Put
·3 min

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.

Read more →
Split a Coding Agent's Giant Commit With git history split
·3 min

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.

Read more →
Git Commits Succeed but Husky Hooks Silently Fail: The Worktree Trap and a Multi-Layer Defense
·2 min

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.

Read more →
Landing an Agent Branch and Rolling It Back Cleanly: A Git Playbook for When CI Disagrees
·4 min

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.

Read more →
Multi-Agent Parallel Development: Solve a Git Conflict Once with rerere
·3 min

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.

Read more →
Fixing AI Drift with Git Hooks: Geoffrey Huntley's Forced Agent Correction Technique
·2 min

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.

Read more →
Why Git Is Essential for AI-Assisted Development: Version Rollbacks, Branch Management, and AI-Generated Commands Explained
·2 min

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.

Read more →
Git 2.56 Highlights: A Dual Upgrade in Performance and Developer Experience
·1 min

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.

Read more →
commit-rewriter 0.2 Released: Now Supports Rewriting Git Commits on Any Branch
·1 min

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.

Read more →
Two Git Ignore Files You've Been Overlooking: Global and Local Exclude Configuration
·1 min

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.

Read more →
commit-rewriter 0.1: An Open-Source Tool for Batch Rewriting Git Commit Messages
·1 min

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.

Read more →
Master Git Without Coding: 5 Plain-Language Commands to Let AI Handle Version Control for You
Tutorials
·3 min

Master 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.

Read more →
The Complete Guide to Git & GitHub Core Concepts: Version Control in the AI Era
Tutorials
·3 min

The 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.

Read more →
Getting Started with Git and GitHub in VS Code: A Beginner's Guide to Version Control
Tutorials
·2 min

Getting 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.

Read more →
Git Data Model Documentation in Practice: An Open-Source Documentation Improvement Method Based on User Feedback
Tutorials
·3 min

Git 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.

Read more →
Will Frequent Git Commits Fill Up Your Hard Drive? Delta Compression & Packfile Mechanism Explained
Deep Dives
·4 min

Will 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.

Read more →
OpenClaw's Six Rename History: Tracing an Open Source Project's Naming Evolution Through Git Commit Records
Tech Frontiers
·2 min

OpenClaw'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.

Read more →