tags: - git categories: - informational comments: true

date: 2022-05-28 00:00:00

DESCRIPTION

Create patch files for last X commits in in one git repo and apply them to another repo

ERRORS

VERIFICATION

COMMANDS

mkdir /tmp/dir1
cd /tmp/dir1
git init
echo 'file one' > file1
git add file1
git commit -m file1
git push

echo 'file two' > file2
git add file2
git commit -m file2
git push

Reference

https://www.ivankristianto.com/create-patch-files-from-multiple-commits-in-git/