Question about svn:externals, submodules...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi there, 

I try to change my svn setting to git and got the most things up running. But one thing I didnt understand how to handle with it, are my svn:external definitions. 

1. I used svn:externals to include other frameworks or libraries in a vendors folder. I got these cases covered with the git submodules, no problem so far.

2. But I used svn:externals to fill up a working copy with checkout specific files. Imagine a web project with public folder, and subfolders for css and js files. Inside these folders there was a "projects" folder with svn:externals for this specific project. All this project specific files are stored in a separate repository with complex structure for storing all the project related files, like:

project1
 - js
 - css
 - img
project2
 - js
 - css
 - img

So, while getting into git I didn't find any solution, that would help me to get my setting working nice with git. Submodules do not work for this case, it would need many different reps to build submodules from, because I cannot fetch any specific file path of some repository.

Any ideas, how to find a solution, for keeping main project AND project related files under version control with git? 
(I thought of symlinks and git ignore definitions, but perhaps there is a better way)?


Cheers

MS--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]