Maxim Mironjuk
-
February 18, 2026
Where git apply merely transfers a diff into the working tree, git am reconstructs a full commit, including author, date and commit message, from a patch file. That makes git am the central tool for patch-based workflows, the kind still standard in Linux kernel development, in Git itself, and across many mailing-list-driven open source projects. This article shows how to apply single patches and entire series cleanly, how to resolve conflicts along the way, and when git am is worth choosing over a classic pull request merge.