Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add symlinks to git repository

Tags:

git

I'm working on a little library and it depends on another github project.

I know that some projects add symlinks. How exactly do you do that?

like image 456
James P. Wright Avatar asked Sep 07 '11 03:09

James P. Wright


1 Answers

What you'll want to use are git submodules.

Example: git submodule add git://github.com/user/project.git destination-dir/

like image 159
Jorge Israel Peña Avatar answered Sep 23 '22 20:09

Jorge Israel Peña