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
  • 51,692
  • 2
  • 65
  • 86
Fred Yang
  • 2,521
  • 3
  • 21
  • 29
  • 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
  • 111,587
  • 10
  • 63
  • 83