How to create a git patch from the committed changes

167 Views Asked by At

I use Android Studio to create a patch file from uncommitted changes. In this case, I need to create a patch file from my last committees.

1

There are 1 best solutions below

0
On

commit_count: last commit count

git diff HEAD~commit_count > name.patch