Git create patch with submodules
Method #1
Commit your changes but do not push yetgit format-patch -n HEAD^Then go in each submodule you care and do the sam
Method #2
Submodules git submodule --quiet foreach --recursive 'export NAME="${PWD##*/}"; git --no-pager diff --src-prefix="a/${NAME}/" --dst-prefix="b/${NAME}/"'
Recent Comments