Git working tree in IIS's wwwroot -
we have visual studio 2003 solution containing multiple web-applications need located in c:\inetpub\wwwroot\.
i know can create repository in svn can contain applications, , each physical path can connected different location in same repository. ex:
c:\inetpub\wwwroot\app1\>svn-repo:/apps/app1c:\inetpub\wwwroot\app2\>svn-repo:/apps/app2
i need create repository in git, questions are:
- is possible git, because want avoid having
.gitfolder inc:\inetpub\wwwroot\(we can have similar configuration different project, , i'm pretty sure 2 working trees can't share same.gitfolder)? - does have idea on how organize repository in git?
because sub-directories of
wwwrootseparate (visual studio) projects, part of single (visual studio) solution treated single product.
, product has version, makes sense have of in single repository. suggest?
even if submodules in theory, since don't want .git in wwwroot, simplest solution remains:
- 1 git repo in
wwwrootboth apps in it, - but actual
.gitlocated elsewhere, ,git_direnvironment variable set reference external.gitdirectory.
--git-dir=
set path repository.
can controlled settinggit_direnvironment variable. can absolute path or relative path current working directory.
Comments
Post a Comment