git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* can you push from a bare repository??
@ 2008-06-27 17:58 Doug Reiland
  2008-06-27 18:18 ` Jon Loeliger
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Reiland @ 2008-06-27 17:58 UTC (permalink / raw)
  To: git

I have a main repository called main
I create a bare clone from main call bare_clone
I create clone from bare_clone called work_repository_1

I do my work in work_repository_1, commit, and push changes to bare_clone

How to a push the changes in bare_clone into main??

thanks in advance,
Doug

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can you push from a bare repository??
  2008-06-27 17:58 can you push from a bare repository?? Doug Reiland
@ 2008-06-27 18:18 ` Jon Loeliger
  2008-06-27 18:41   ` Doug Reiland
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Loeliger @ 2008-06-27 18:18 UTC (permalink / raw)
  To: Doug Reiland; +Cc: git

Doug Reiland wrote:
> I have a main repository called main
> I create a bare clone from main call bare_clone
> I create clone from bare_clone called work_repository_1
> 
> I do my work in work_repository_1, commit, and push changes to bare_clone
> 
> How to a push the changes in bare_clone into main??
> 

Go to your main repo and configure up a new remote
using "git remote add' pointing to the bare repo.
Then fetch from that remote!

jdl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can you push from a bare repository??
  2008-06-27 18:18 ` Jon Loeliger
@ 2008-06-27 18:41   ` Doug Reiland
  0 siblings, 0 replies; 3+ messages in thread
From: Doug Reiland @ 2008-06-27 18:41 UTC (permalink / raw)
  To: Jon Loeliger; +Cc: git

Is that the only way? It wouldn't work for what I want to do.
I will have many users creating these environments and I wouldn't want
them all creating those remote branches on the main server.



On Fri, Jun 27, 2008 at 2:18 PM, Jon Loeliger <jdl@freescale.com> wrote:
> Doug Reiland wrote:
>>
>> I have a main repository called main
>> I create a bare clone from main call bare_clone
>> I create clone from bare_clone called work_repository_1
>>
>> I do my work in work_repository_1, commit, and push changes to bare_clone
>>
>> How to a push the changes in bare_clone into main??
>>
>
> Go to your main repo and configure up a new remote
> using "git remote add' pointing to the bare repo.
> Then fetch from that remote!
>
> jdl
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-27 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-27 17:58 can you push from a bare repository?? Doug Reiland
2008-06-27 18:18 ` Jon Loeliger
2008-06-27 18:41   ` Doug Reiland

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).