can you push from a bare repository??

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

can you push from a bare repository??

From: Doug Reiland <hidden>
Date: 2016-06-15 22:44:50

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

Re: can you push from a bare repository??

From: Jon Loeliger <hidden>
Date: 2016-06-15 22:44:50

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

Re: can you push from a bare repository??

From: Doug Reiland <hidden>
Date: 2016-06-15 22:44:50

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 [off-list ref] wrote:
Doug Reiland wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help