{"thread":{"id":"14187","subject":"can you push from a bare repository??","startedAt":"2008-06-27T17:58:16Z","lastAt":"2008-06-27T18:41:05Z","messageCount":3,"participants":["Doug Reiland","Jon Loeliger"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"81452","messageId":"6844644e0806271058r738e300fxf10f50b4ad29a93c@mail.gmail.com","threadId":"14187","inReplyTo":null,"subject":"can you push from a bare repository??","fromName":"Doug Reiland","fromEmail":"dreiland@gmail.com","sentAt":"2008-06-27T17:58:16Z","receivedAt":"2008-06-27T17:58:16Z","isPatch":false,"sender":{"key":"dreiland@gmail.com","avatar":null},"body":"I have a main repository called main\nI create a bare clone from main call bare_clone\nI create clone from bare_clone called work_repository_1\n\nI do my work in work_repository_1, commit, and push changes to bare_clone\n\nHow to a push the changes in bare_clone into main??\n\nthanks in advance,\nDoug\n"},{"id":"81456","messageId":"48652F01.4080309@freescale.com","threadId":"14187","inReplyTo":"6844644e0806271058r738e300fxf10f50b4ad29a93c@mail.gmail.com","subject":"Re: can you push from a bare repository??","fromName":"Jon Loeliger","fromEmail":"jdl@freescale.com","sentAt":"2008-06-27T18:18:41Z","receivedAt":"2008-06-27T18:18:41Z","isPatch":false,"sender":{"key":"jdl@jdl.com","avatar":"https://gravatar.com/avatar/75ce9a10b151acd2c28ec4ab2136dba7b2ff1634530bd04b155981a749d08a64?d=mp&s=160"},"body":"Doug Reiland wrote:\n> I have a main repository called main\n> I create a bare clone from main call bare_clone\n> I create clone from bare_clone called work_repository_1\n> \n> I do my work in work_repository_1, commit, and push changes to bare_clone\n> \n> How to a push the changes in bare_clone into main??\n> \n\nGo to your main repo and configure up a new remote\nusing \"git remote add' pointing to the bare repo.\nThen fetch from that remote!\n\njdl\n"},{"id":"81460","messageId":"6844644e0806271141q6b90901al2e9f40509f1c3539@mail.gmail.com","threadId":"14187","inReplyTo":"48652F01.4080309@freescale.com","subject":"Re: can you push from a bare repository??","fromName":"Doug Reiland","fromEmail":"dreiland@gmail.com","sentAt":"2008-06-27T18:41:05Z","receivedAt":"2008-06-27T18:41:05Z","isPatch":false,"sender":{"key":"dreiland@gmail.com","avatar":null},"body":"Is that the only way? It wouldn't work for what I want to do.\nI will have many users creating these environments and I wouldn't want\nthem all creating those remote branches on the main server.\n\n\n\nOn Fri, Jun 27, 2008 at 2:18 PM, Jon Loeliger <jdl@freescale.com> wrote:\n> Doug Reiland wrote:\n>>\n>> I have a main repository called main\n>> I create a bare clone from main call bare_clone\n>> I create clone from bare_clone called work_repository_1\n>>\n>> I do my work in work_repository_1, commit, and push changes to bare_clone\n>>\n>> How to a push the changes in bare_clone into main??\n>>\n>\n> Go to your main repo and configure up a new remote\n> using \"git remote add' pointing to the bare repo.\n> Then fetch from that remote!\n>\n> jdl\n>\n"}]}