{"thread":{"id":"19338","subject":"hosting multiple project in single git repository","startedAt":"2009-05-13T17:48:44Z","lastAt":"2009-05-14T07:14:09Z","messageCount":3,"participants":["S. M. Ibrahim (Lavlu)","Avery Pennarun"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"113815","messageId":"4997275b0905131048t1b5c1427w85a2f96964ea16b6@mail.gmail.com","threadId":"19338","inReplyTo":"4997275b0905131046s407e334ag6783a6365c89fe10@mail.gmail.com","subject":"hosting multiple project in single git repository","fromName":"S. M. Ibrahim (Lavlu)","fromEmail":"smibrahim@gmail.com","sentAt":"2009-05-13T17:48:44Z","receivedAt":"2009-05-13T17:48:44Z","isPatch":false,"sender":{"key":"smibrahim@gmail.com","avatar":null},"body":"hi,\n\nin our company we are moving all our subversion repository to git.\ngit-svn is working really nice. but facing a problem. we have one svn\nrepository where we hosted two projects and both the projects are\nunder development. project a is trunk and project b is branch/xxxx .\nand project b was copied from trunk . we have plan to merge this two\nproject in future. what is the best way to maintain this two project\nin git ? should we make to different git repository .\n\nthanks\n\n--\nS. M. Ibrahim Lavlu\nsoftware engineer, php\nsomewhere in...\n"},{"id":"113817","messageId":"32541b130905131058i54dfa56ck8938aab96cb1d442@mail.gmail.com","threadId":"19338","inReplyTo":"4997275b0905131048t1b5c1427w85a2f96964ea16b6@mail.gmail.com","subject":"Re: hosting multiple project in single git repository","fromName":"Avery Pennarun","fromEmail":"apenwarr@gmail.com","sentAt":"2009-05-13T17:58:28Z","receivedAt":"2009-05-13T17:58:28Z","isPatch":false,"sender":{"key":"apenwarr@gmail.com","avatar":"https://avatars.githubusercontent.com/u/20592?v=4"},"body":"On Wed, May 13, 2009 at 1:48 PM, S. M. Ibrahim (Lavlu)\n<smibrahim@gmail.com> wrote:\n> in our company we are moving all our subversion repository to git.\n> git-svn is working really nice. but facing a problem. we have one svn\n> repository where we hosted two projects and both the projects are\n> under development. project a is trunk and project b is branch/xxxx .\n> and project b was copied from trunk . we have plan to merge this two\n> project in future. what is the best way to maintain this two project\n> in git ? should we make to different git repository .\n\nIf they both branched from the same place and they might be merged\nback together someday, then keeping them in the same repository seems\nrather harmless.  And you can always split the repositories later if\nyou want.  Similarly, you can check out the same repository in two\ndifferent local directories on two different branches and it's\nessentially equivalent to having two repositories in the first place.\n\nWhat problems are you having with the setup as it is now?\n\nHave fun,\n\nAvery\n"},{"id":"113896","messageId":"4997275b0905140014u72375d73vf23b67acf9930b53@mail.gmail.com","threadId":"19338","inReplyTo":"32541b130905131058i54dfa56ck8938aab96cb1d442@mail.gmail.com","subject":"Re: hosting multiple project in single git repository","fromName":"S. M. Ibrahim (Lavlu)","fromEmail":"smibrahim@gmail.com","sentAt":"2009-05-14T07:14:09Z","receivedAt":"2009-05-14T07:14:09Z","isPatch":false,"sender":{"key":"smibrahim@gmail.com","avatar":null},"body":"2009/5/13 Avery Pennarun <apenwarr@gmail.com>:\n> On Wed, May 13, 2009 at 1:48 PM, S. M. Ibrahim (Lavlu)\n> <smibrahim@gmail.com> wrote:\n>> in our company we are moving all our subversion repository to git.\n>> git-svn is working really nice. but facing a problem. we have one svn\n>> repository where we hosted two projects and both the projects are\n>> under development. project a is trunk and project b is branch/xxxx .\n>> and project b was copied from trunk . we have plan to merge this two\n>> project in future. what is the best way to maintain this two project\n>> in git ? should we make to different git repository .\n>\n> If they both branched from the same place and they might be merged\n> back together someday, then keeping them in the same repository seems\n> rather harmless.  And you can always split the repositories later if\n> you want.  Similarly, you can check out the same repository in two\n> different local directories on two different branches and it's\n> essentially equivalent to having two repositories in the first place.\n>\n> What problems are you having with the setup as it is now?\n>\n> Have fun,\n>\n> Avery\n>\nthanks for reply. we imported the hole svn repository in git. now the\nproject b is a branch of the repository. and project a is the master .\ncan you please show me a little example how can i pull and push from\nand to particular branch.\n\nmy plan is to use two different folder for these two project.\n\nthanks\n\n\n-- \nS. M. Ibrahim Lavlu\nsoftware engineer, php\nsomewhere in...\nhttp://www.somewherein.net\n\nbangla blog: http://www.somewhereinblog.net\nmy blog: http://www.lavluda.com\nmac blog: htttp://www.mac-talks.com\n"}]}