Note that there are some explanatory texts on larger screens.

plurals
  1. POGit. Store several projects under the same repository
    primarykey
    data
    text
    <p>Imagine mobile application that is planned to be implemented for both iOS and Android. Development was started from the iOS version only and now the time has come to start with Android one. iOS application's code is stored at its' own Git repository that named after the apps name, e.g. "MYApp". Now I would like to create one common repository for both iOS and Android applications and name it again after application's name: "MYApp".</p> <p>It is not a problem at first glance. Just create repository, create 2 subfolders there and start working.</p> <p>But. I would like that Android developer could work only with his folder and iOS developer only with his one too and both of them could see only their own folders related history (log).</p> <p>I worked with SVN previously. Usually I created subfolders and you could checkout any of them to work only with this subfolder. History was also filtered to your scope.</p> <p>I'm stuck with implementing the same under Git. Please, help me to find right direction.</p> <hr> <p><strong>I will sum up solutions suggested.</strong></p> <ol> <li>Use branching for different platforms. I don't think that it is good idea, because branches used for another purpose. It seems to me very "jacky".</li> <li>Use submodules. Just create as many repos as platforms you are targeting to, name them "MYApp-iOS", "MyApp-Android", etc. and finally end up with "master" repo, that could be names as "MYApp" (without any suffixes). Then add all related repos to "master" one with git submodules feature.</li> <li>Use git slave. Investigating...</li> </ol> <p>Please, feel free to edit this list to brainstorm the problem.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload