* hosting multiple project in single git repository
[not found] ` <4997275b0905131046s407e334ag6783a6365c89fe10@mail.gmail.com>
@ 2009-05-13 17:48 ` S. M. Ibrahim (Lavlu)
2009-05-13 17:58 ` Avery Pennarun
0 siblings, 1 reply; 3+ messages in thread
From: S. M. Ibrahim (Lavlu) @ 2009-05-13 17:48 UTC (permalink / raw)
To: git
hi,
in our company we are moving all our subversion repository to git.
git-svn is working really nice. but facing a problem. we have one svn
repository where we hosted two projects and both the projects are
under development. project a is trunk and project b is branch/xxxx .
and project b was copied from trunk . we have plan to merge this two
project in future. what is the best way to maintain this two project
in git ? should we make to different git repository .
thanks
--
S. M. Ibrahim Lavlu
software engineer, php
somewhere in...
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: hosting multiple project in single git repository
2009-05-13 17:48 ` hosting multiple project in single git repository S. M. Ibrahim (Lavlu)
@ 2009-05-13 17:58 ` Avery Pennarun
2009-05-14 7:14 ` S. M. Ibrahim (Lavlu)
0 siblings, 1 reply; 3+ messages in thread
From: Avery Pennarun @ 2009-05-13 17:58 UTC (permalink / raw)
To: S. M. Ibrahim (Lavlu); +Cc: git
On Wed, May 13, 2009 at 1:48 PM, S. M. Ibrahim (Lavlu)
<smibrahim@gmail.com> wrote:
> in our company we are moving all our subversion repository to git.
> git-svn is working really nice. but facing a problem. we have one svn
> repository where we hosted two projects and both the projects are
> under development. project a is trunk and project b is branch/xxxx .
> and project b was copied from trunk . we have plan to merge this two
> project in future. what is the best way to maintain this two project
> in git ? should we make to different git repository .
If they both branched from the same place and they might be merged
back together someday, then keeping them in the same repository seems
rather harmless. And you can always split the repositories later if
you want. Similarly, you can check out the same repository in two
different local directories on two different branches and it's
essentially equivalent to having two repositories in the first place.
What problems are you having with the setup as it is now?
Have fun,
Avery
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hosting multiple project in single git repository
2009-05-13 17:58 ` Avery Pennarun
@ 2009-05-14 7:14 ` S. M. Ibrahim (Lavlu)
0 siblings, 0 replies; 3+ messages in thread
From: S. M. Ibrahim (Lavlu) @ 2009-05-14 7:14 UTC (permalink / raw)
To: Avery Pennarun; +Cc: git
2009/5/13 Avery Pennarun <apenwarr@gmail.com>:
> On Wed, May 13, 2009 at 1:48 PM, S. M. Ibrahim (Lavlu)
> <smibrahim@gmail.com> wrote:
>> in our company we are moving all our subversion repository to git.
>> git-svn is working really nice. but facing a problem. we have one svn
>> repository where we hosted two projects and both the projects are
>> under development. project a is trunk and project b is branch/xxxx .
>> and project b was copied from trunk . we have plan to merge this two
>> project in future. what is the best way to maintain this two project
>> in git ? should we make to different git repository .
>
> If they both branched from the same place and they might be merged
> back together someday, then keeping them in the same repository seems
> rather harmless. And you can always split the repositories later if
> you want. Similarly, you can check out the same repository in two
> different local directories on two different branches and it's
> essentially equivalent to having two repositories in the first place.
>
> What problems are you having with the setup as it is now?
>
> Have fun,
>
> Avery
>
thanks for reply. we imported the hole svn repository in git. now the
project b is a branch of the repository. and project a is the master .
can you please show me a little example how can i pull and push from
and to particular branch.
my plan is to use two different folder for these two project.
thanks
--
S. M. Ibrahim Lavlu
software engineer, php
somewhere in...
http://www.somewherein.net
bangla blog: http://www.somewhereinblog.net
my blog: http://www.lavluda.com
mac blog: htttp://www.mac-talks.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-14 7:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4997275b0905131031q3c572854r4b0a899ca43063be@mail.gmail.com>
[not found] ` <4997275b0905131046s407e334ag6783a6365c89fe10@mail.gmail.com>
2009-05-13 17:48 ` hosting multiple project in single git repository S. M. Ibrahim (Lavlu)
2009-05-13 17:58 ` Avery Pennarun
2009-05-14 7:14 ` S. M. Ibrahim (Lavlu)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).