1

I've been using Git for a while. I want simulate a case in SVN using git, that I want to import an external tree into my project. Let's say,

my_project_root
  my_folder1
  jQuery(link to external source)

How do I do that?

thanks

Cameron Skinner
  • 48,389
  • 2
  • 64
  • 82
Fred Yang
  • 2,469
  • 2
  • 21
  • 27
  • Note: git submodules are the right solution, but they are not the same than SVN externals: http://stackoverflow.com/questions/3131912/why-are-git-submodules-incompatible-with-svn-externals/3132221#3132221 – VonC Dec 17 '10 at 17:08

1 Answers1

3

Have a look at git's submodules. A little bit more complicated that what I hoped for but it gets the job done.

Philip Fourie
  • 103,989
  • 10
  • 59
  • 82