git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: can you push from a bare repository??

From
DRDoug Reiland <dreiland@gmail.com>
Date
Jun 27, 2008, 18:41 UTC
Message-ID
<6844644e0806271141q6b90901al2e9f40509f1c3539@mail.gmail.com>
In-Reply-To
<48652F01.4080309@freescale.com>

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:
Show 17 quoted lines
> 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
>
Previous: Jon Loeliger
Message 3 of 3 in “can you push from a bare repository??”
  1. Doug ReilandJun 27, 2008
  2. Jon LoeligerJun 27, 2008
  3. Doug ReilandJun 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.