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
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.
I think you're looking for something like git-submodule
精彩评论