plugins

Home

Plugins

GitHub

Blog

git-submodules-update

version: 0.1.9 |  date: 06/27/2021 |  recursively update git submodules |  source code

# SYNOPSIS

Recursively walks through git sub modules kept under some super project
and fetches changes from related remote repositories
( `git submodules update --init --remote` command is executed under the hood  )


# INSTALL

    $ s6 --install git-submodules-update

# USAGE

    # all the list
    $ s6 --plg-run git-submodules-update@directory=/path/to/working/copy/directory/

    # single project
    $ s6 --plg-run git-submodules-update@project=cups,directory=/path/to/working/copy/directory/

# Parameters

## directory

Should be a path for working copy directory of git super project with git submodules.

Obligatory. No default values.

## project

If set, only perform action for given git submodule denoted as $project.

Optional. No default value.

## debug

Enable bash debug mode.

Optional. No default value.

# Author

[Alexey Melezhik](mailto:melezhik@gmail.com)