The Craft 6 beta is out. Learn what's new and how Craft 6 works on Laravel. Explore Craft 6

How to Create and Apply Git Patches

In a previous lesson we used git-cherry-pick to grab a commit and apply it to a different branch. In this lesson we'll learn how to do that but with patch files. Learn how to use the git-format-patch and git-am commands.

Transcript

Premium

Follow along with the full transcript

Search every word, click any line to jump to that moment, and read along as you watch. A CraftQuest Premium feature.

Sign up for Premium