But git submodules can also handle automerging/-rebasing on every git submodule update call.
This could be done by setting the correct commandline switch:
$ git submodule update --merge # for merging $ git submodule update --rebase # for rebasingor you could set it in your git config by issuing
$ git config submodule.[the submodule name].update merge # for merging $ git config submodule.[the submodule name].update rebase # for rebasingor doing it all in once
$ for submodule in $(git submodule | cut -d' ' -f1); do git config submodule.${submodule}.update merge; done; # for merging $ for submodule in $(git submodule | cut -d' ' -f1); do git config submodule.${submodule}.update rebase; done; # for rebasing
BlueC0re
No comments:
Post a Comment