No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
t
.gitignore
.gitmodules
.travis.yml
README.adoc
git-shared-submodule-update
git-shared-submodule-update.txt

README.adoc

git-shared-submodule-update(1)

NAME

git-shared-submodule-update - Faster submodule-update by sharing .git directories

SYNOPSIS

git shared-submodule-update [--init] [--no-dissociate] [<path>]

DESCRIPTION

Simply does submodule-update but faster by --reference and locally cached repositories.

On shared-submodule-update, the submodule’s remote repository is cloned to a shared repository under ~/.git-shared-submodule (configurable) first.

Then the submodule is updated by git submodule update with --reference pointing to the shared repo, making submodule-update faster if you are using same submodule among many repositories.

OPTIONS

--init

Passed to git submodule update.

--no-dissociate

By default shared-submodule-update passes --dissociate to submodule-update. This option supresses this behavior.

NOTE: Do not use this option unless you have read the note for git-clone’s --reference, --shared, and --dissociate options carefully.

CONFIGURATION

shared-submodule.root

The directory under which the shared repositories are cloned. Defaults to ~/.git-shared-submodule. Can be overridden by environment variable GIT_SHARED_SUBMODULE_ROOT.

AUTHOR

Written by motemen <motemen@gmail.com>