Skip to content

commit push submodules

Subhajit Sahu edited this page Feb 19, 2022 · 2 revisions

Commit current changes and push all submodules. (cpush-submodules)

Alternatives: commit-push, commit-push-submobules.
Similar: add-submodule, init-submobules, commit-push-submobules, amend-push-submobules.


$ egit commit-push-submodules <message>
# $GIT_COMMIT_PREFIX: prefix for commit messages
# Commit and push changes in "wiki" submodule
$ egit clone-init-submodules nodef/extra-git
$ cd extra-git
$ echo "web-Stanford" > wiki/graphs.md
$ egit commit-push-submodules "updated wiki"


Clone this wiki locally