Hardware Reference
In-Depth Information
host$ git add Kconfig Makefile examples
host$ git status
# On branch hello1
# Changes to be committed:
# (use "git reset HEAD file..." to unstage)
#
# modified: Kconfig
# modified: Makefile
# new file: examples/Makefile
# new file: examples/hello1.c
#
host$ git commit -m "Files for hello1 kernel module"
[hello1 99346d5] Files for hello1 kernel module
4 files changed, 33 insertions(+)
create mode 100644 drivers/char/examples/Makefile
create mode 100644 drivers/char/examples/hello1.c
Finally, create the patch file:
host$ git format-patch master --stdout > hello1.patch
Search WWH ::




Custom Search