Modify local repository and create a patch


 * do your modifications


 * show what files changed

git status

git add
 * add changes

git reset
 * in case you want to undo files you added, which you did not commit:

git commit
 * commit changes

or in one go:

git commit -a
 * add and commit the changes


 * create a patchset to submit

After checking in your local changes (in multiple small commits), you can generate a list of the patches you need to send upstream (i.e. to ic_common_patches) with the following command:

git format-patch --keep-subject -o out origin

git format-patch HEAD^!
 * create a patch against the latest and greatest


 * this patch should go to integration