Previous: , Up: Submodules   [Contents][Index]


8.3.2 Submodule Popup

o     (magit-submodule-popup)

This prefix command shows the following suffix commands along with the appropriate infix arguments in a popup buffer.

o a     (magit-submodule-add)

Add the repository at URL as a submodule. Optional PATH is the path to the submodule relative to the root of the super-project. If it is nil then the path is determined based on URL.

o b     (magit-submodule-setup)

Clone and register missing submodules and checkout appropriate commits.

o i     (magit-submodule-init)

Register submodules listed in ".gitmodules" into ".git/config".

o u     (magit-submodule-update)

Clone missing submodules and checkout appropriate commits. With a prefix argument also register submodules in ".git/config".

o s     (magit-submodule-sync)

Update each submodule’s remote URL according to ".gitmodules".

o f     (magit-submodule-fetch)

Fetch submodule. With a prefix argument fetch all remotes.

o i     (magit-submodule-init)

Unregister the submodule at PATH.