Skip to content

scott-robotics/git-external

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-external

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

Usage

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>

How to build

git clone [email protected]:scott-robotics/git-external.git
cd git-external
./install

About

a git-submodule alternative

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 99.1%
  • Shell 0.9%