Updated: 15 February 2024
Make a patch file from the 1st commit in HEAD
git diff @~1 @ > my.patch
Apply the patch file to another repo
git apply my.patch
Freelance software engineer United Kingdom
Updated: 15 February 2024
Make a patch file from the 1st commit in HEAD
git diff @~1 @ > my.patch
Apply the patch file to another repo
git apply my.patch