0

I need a specific file from an online repo brought into the local clone of my current project. I'd also like the file in a specific directory in the current project. I don't want to go the easiest route (copy the file from the clone); I'd rather have the file be updatable from the online repo and have that file pushed to my current project's online repo.

Thanks, DZ

DataZombies
  • 416
  • 6
  • 19

2 Answers2

2

you might be able to use submodules:

http://speirs.org/blog/2009/5/11/understanding-git-submodules.html

they heard you like git, so they put git inside your git, so you can git while you git.

Ken Mazaika
  • 1,142
  • 10
  • 12
1

I think you're looking for something like git-submodule

Jessedc
  • 12,320
  • 3
  • 50
  • 63