git command to mimic the svn-externals feature
This script is based on the git-external in ruby version by Daniel Cestari 2010 (https://github.com/dcestari/git-external)
- Add the
git-extmodule
to the $PATH and make it executable - Alternatively, run
git config --global alias.extmodule \!/path/to/git-extmodule
. Note the exclamation mark. This has the advantage that you get some tab completion on the command line.
- Copy the
git-extmodule
to%PROGRAMFILES%\Git\mingw64\libexec\git-core
git extmodule add <repository-url> <path> [<branch>]
git extmodule init
git extmodule update
git extmodule list
git extmodule rm <path>
git extmodule cmd '<command>'
See the LICENSE file for license rights and limitations (Apache 2.0).