Aristona
Aristona

Reputation: 9331

How can I reference a specific repository using Git?

In this repository (https://github.com/LaravelIO/laravel.io), you can have a look at vagrant-chef folder. When you click on it, you move to another repository.

How can I do that?

Upvotes: 2

Views: 52

Answers (1)

ilivewithian
ilivewithian

Reputation: 19692

Sounds like you mean Submodules, try this: http://git-scm.com/book/en/Git-Tools-Submodules

Simple worked exmaple:

mkdir /SomeFolder
cd SomeFolder
git submodule add [email protected]:YourRepoHere.git

now the YourRepo will appear in the folder SomeFolder

Upvotes: 4

Related Questions