Git 2.55 has been released with contributions from over 100 developers. Key highlights include: incremental multi-pack index (MIDX) support in git repack with geometric repacking to keep chain length logarithmic; a new git history fixup subcommand to fold staged changes into earlier commits; parallel execution of config-based hooks; Linux support for the built-in fsmonitor daemon via inotify; significant bitmap generation performance improvements (612s to 294s in one benchmark); --path-walk filter compatibility for partial clones; a new git format-rev command for formatting commits from stdin; sideband terminal control sequence sanitization for security; autostash support in git checkout -m; remote group support for git push; --graph-lane-limit for wide graph output; --max-count-oldest for selecting oldest N commits; and new fetch negotiation controls.
Nguồn: https://github.blog/open-source/git/highlights-from-git-2-55. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
Epic Games vừa giới thiệu Lore, hệ thống kiểm soát phiên bản mã nguồn mở dành riêng cho dự án game và giải trí kết hợp code với tài sản nhị phân lớn. Lore xử lý file nhị phân như thành phần chính nhờ lưu trữ theo khối, loại bỏ trùng lặp và tải dữ liệu theo nhu cầu, sử dụng kiến trúc tập trung có địa chỉ nội dung với Merkle trees và chuỗi phiên bản bất biến.
Những lập trình viên làm game hoặc phát triển dự án đa media sẽ tìm hiểu Lore vì nó giải quyết những thách thức về quản lý phiên bản và lưu trữ binary phức tạp mà Git không thể xử lý hiệu quả, đặc biệt trong môi trường cần độ ổn định và hiệu suất cao như các dự án lớn.
Ba công ty Cursor, GitLab và Zed đều nhận thấy GitHub đang gặp khó khăn trước khối lượng code do AI tạo ra, nhưng họ đề xuất các giải pháp khác nhau để tái xây dựng nền tảng này. Cursor giới thiệu Origin, tương thích Git nhưng tối ưu cho workload của agent; GitLab phát triển Project Switch với backend cải tiến nhằm tăng tốc độ xử lý lên 50 lần; còn Zed thay thế hoàn toàn mô hình commit bằng DeltaDB, theo dõi các thay đổi liên tục.
Những công cụ mới như Cursor, GitLab và Zed đang thay đổi cơ sở hạ tầng mã nguồn để phù hợp với thế giới AI, giúp lập trình viên hiểu cách tối ưu hóa hiệu suất, giảm chi phí và tương tác hiệu quả hơn với các công cụ tương tác tự động trong tương lai.
Git bisect sử dụng thuật toán tìm kiếm nhị phân để xác định commit gây lỗi, giảm từ 300 lần kiểm tra thủ công xuống chỉ còn ~9 lần. Phương pháp này so sánh giữa commit "tốt" đã biết và commit "xấu" đã biết, sau đó lần lượt kiểm tra các commit ở giữa cho đến khi tìm ra commit đầu tiên gây lỗi.
Lập trình viên nên đọc bài này để học cách sử dụng Git Bisect để tìm nhanh chóng commit gây ra lỗi, thay vì mất thời gian kiểm tra từng commit thủ công, giúp tiết kiệm thời gian và cải thiện hiệu quả debug trong dự án.
A hands-on demo of 'Git for Context', a concept implemented in a Dolt-backed fork of Open Code that stores AI coding agent context as a versioned database. The session shows how context is committed after each agent turn, enabling history inspection, diffs of token/message changes between turns, SQL queries against the context database, and branching/resetting context like a Git repo. The demo covers a real DoltLite code review session using GPT-5.5, producing 7 PRs with minimal user input, and illustrates how tool call patterns (bash vs. read vs. apply_patch) can be measured and compared across sessions.
GitHub Desktop 3.6 introduces three major improvements: Copilot-powered commit message generation that respects custom instructions and repository metadata rules, AI-assisted merge conflict resolution with explanations and suggested fixes, and Git worktree support for working across multiple branches in parallel. Copilot integration now runs on the Copilot SDK, adds a model picker for choosing AI models, and supports bring-your-own-key (BYOK) for third-party or local models. The release is available for macOS and Windows; Copilot features require a GitHub Copilot subscription.
Git 2.55.0 introduces several notable features: a new git history fixup subcommand that amends staged changes into an existing commit and auto-rebases stacked branches; fsmonitor daemon support for Linux using inotify(7); the ability to push to a group of remotes with git push; a --graph-lane-limit option for git log --graph to cap lane width; batched blob downloads for partial clones in git-grep and git-cherry; and Rust is now a required build dependency unless explicitly disabled.
Các AI coding agent như Cursor, Claude Code hay Codex thường chỉ xóa secrets khỏi commit mới nhất (HEAD) nhưng vẫn giữ chúng trong lịch sử Git, dẫn đến khoảng 124.000 trường hợp khắc phục không triệt để trên GitHub. Để xử lý triệt để, cần xoay khóa (rotate) credential trước, sau đó chỉnh sửa lịch sử Git bằng công cụ như git-filter-repo và force-push phiên bản sạch. GitGuardian cung cấp giải pháp bằng cách hướng dẫn AI quét toàn bộ lịch sử commit, cài đặt pre-commit hooks và tích hợp trực tiếp với IDE thông qua GitGuardian MCP server.
Lập trình viên nên đọc bài này để tránh rủi ro bảo mật khi sử dụng AI hỗ trợ mã hóa, vì những lỗi như bỏ quên các mật khẩu trong lịch sử Git có thể gây ra việc lộ thông tin quan trọng mà không phát hiện được.

A developer's personal plea for simpler, more concise code descriptions, commit messages, and merge request descriptions. The author, who has ADHD, argues that reviewers need to know the 'why' behind changes, not the 'what', and that atomic commits with clean rebases make reviews easier. Also advises against using LLMs to write commit messages and comments, encouraging developers to write them personally for better understanding and accessibility.