git-submodule made easy with git-toprepo
Project description
git-submodule made easy with git-toprepo
The git-toprepo
script acts a bit like a client side git-subtree
based on the submodules in a top repository.
It has support for one level of submodules only,
no recursive submodules will be resolved.
git toprepo init <repository> [<directory>]
will clone repository
into directory
,
replaces the submodule pointers with the actual content in the repository history.
git toprepo fetch
fetches from the remote
and performs the submodule resolution.
git toprepo pull
is the same as toprepo fetch && git merge
.
git toprepo push [-n/--dry-run] <rev>:<ref> ...
does a reverse submodule resolution
so that each submodule can be pushed individually to each submodule upstream.
If running with -n
or --dry-run
, the resulting git push
command lines
will be printed but not executed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for git_toprepo-0.1.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38609c02e7f7f462d5c43f84df9fa0f0b9e852572e0f16c4c71fa5319133bd9c |
|
MD5 | c6bacba8e2a12ab36cc863178f48e6af |
|
BLAKE2b-256 | 7ce27f7daeb5302131cadebcf7837462b11b1ca50f38e37aa5353cb3aaea5968 |