James P. Wright
James P. Wright

Reputation: 9131

Add symlinks to git repository

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?

Upvotes: 11

Views: 12883

Answers (1)

Jorge Israel Peña
Jorge Israel Peña

Reputation: 38626

What you'll want to use are git submodules.

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

Upvotes: 16

Related Questions