version control - .git folder that has only link to repository, but no files embedded -


short version of question be:

what put .git folder developer able pull newest version server, not have older 1 files embedded .git?

reason why need that:

i have application's core and other solutions use core.

i want use separate git repository core , separate repository every solution uses core.

for examples sake, let call core application simple , new project super

what have far structure:

simple super.config super.web 

a few comments:

simple ----here core files super.config ----here configuration files super.web ----here web project uses core 

everything works fine , have core files in separate repository , super repository looks this:

super.config super.web 

what want add simple folder super repository .git folder in there wich has core repository url , not files. super project developer able pull latest core version repository.

therefore structure want this:

simple ----.git super.config super.web 

and when developer gets structure, he/she pulls files in simple directory , gets newest version of core.

if understand want, think talking git submodules.

have here it's explained better can!

http://git-scm.com/book/en/git-tools-submodules


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo