[KongchangAI]

#Git

20 related articles

Ten Days Later, Git on macOS Still Trusts the Compromised eMudhra Certificates
·2 min

Ten Days Later, Git on macOS Still Trusts the Compromised eMudhra Certificates

Ten days later, Git on macOS still trusts the compromised eMudhra certificates. This article covers the background, Git's certificate trust path on macOS, Hacker News community discussion, and the practical impact on developer supply chain security and mitigation ideas.

Read more →
Catching Weakened Tests with Three Git Worktrees
·3 min

Catching Weakened Tests with Three Git Worktrees

Use three Git worktrees to simulate baseline, patched, and mutant states, mechanically verifying whether patch tests truly observe the fix. Includes shell scripts, decision tables, and failure modes.

Read more →
Why AI Coding Tools Turn CRLF Files into Whole-File Diffs? Codex Fix Explained
·3 min

Why AI Coding Tools Turn CRLF Files into Whole-File Diffs? Codex Fix Explained

Why do AI coding agents produce whole-file diffs when editing CRLF files? We explain git line-ending mechanics, Codex 0.162.0's CRLF-preserving fix, related Claude Code issues, plus .gitattributes fixes and CI checks.

Read more →
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 →