Create and apply patch !
This blog help you to create patch and then apply the patch
Use following patch to create your patch :
git format-patch HEAD~1 --stdout > patchfile.patch
You will get one patch file named patchfile.patch
.
apply your patch:
git am --3way --ignore-space-change patchfile.patch
Now you can see last commit is applied. Check it using git log
.
Written on October 26, 2021