Re: Site dependent repositories

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

 



Have you considered ignoring 'local' and 'extensions' and making each their
own repositories?

A 'site' repository would contain the dir structure you described, and would
have a .gitignore to ignore 'local' and 'extensions'. As these are now ignored
by git, you are free to create a git repo in each dir that will be independent
of the 'site' repo.

This way you would be able to push/pull 'site' repos without 'local' and
'extensions' being tracked or changed. However, you can still go into the
'local' and 'extensions' dirs and work with the git repos established for
these directories.

This brings up the problem of keeping a given 'site' repo and its inner
'local' and 'extensions' repos in sync, but you could do this by coordinating
pushs, pulls, and checkouts by a deploy script or something of that nature.


--
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]