Intends to provide an alternative to git-submodules but without being attached to an specific commit. There is still an option to specify a particular commit if necessary.
## Requirements
- ruby 1.8.7
- gem
- git
Setup a new git repository:
git init
Help git external:
git external
Setup a new "external" repository:
git external add <repository> <path> [<branch or commit#40>]
Initialize all external repositories:
git external init
Initialize individual external repository:
git external init <name>
Update existing repositories to the latest version:
git external update
Or just a single repo:
git external update <name>
Status of your repository:
git external status
Reset all changes in the repositories (eq. to git reset --hard
):
git external reset [<name&rt;]
Configuration of your repository:
git external list
Execute a command over "external" repository:
git external cmd 'git status' git external cmd 'git pull --rebase' git external cmd 'git fetch'
Remove an external repository:
git external rm <path>
git clone [email protected]:scott-robotics/git-external.git cd git-external ./install