a git-submodule alternative (active branch is: develop)
Ruby Shell
Pull request Compare This branch is 53 commits ahead, 8 commits behind dcestari:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
LICENSE.txt
README.markdown
obazoud-git-external.gemspec
unittest.sh

README.markdown

git-external

Intends to provide an alternative to git-submodules but without being attach to an specific commit

 Requiments

  • ruby 1.8 or 1.9
  • gem
  • git

Dependencies

  • gem install rubygems

Usage

Setup a new git repository:

git init

Help git external:

git external

Setup a new "external" repository:

git external add   

Initialize external repositories:

git external init

Update existing repositories to the latest version:

git external update

Status of your repository:

git external status

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 

Installation from source

git clone git://github.com/obazoud/git-external.git
cd git-external
git checkout develop
gem build obazoud-git-external.gemspec && gem install --local obazoud-git-external-0.8.2.gem

And voilà!