Easy way to create a patch with Git
- Create a new branch from master
- Add code to this branch
- Commit
- Repeat points 2 and 3 if necessary ;)
Perform git format-patch master --stdout > my_feature.patch
and you will find my_feature.patch
file in your app directory :)