Create patch from commit Back{: .button} Create the last 5 commits as a patch git format-patch -5 HEAD