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

Re: can you push from a bare repository??

From
Jon Loeliger <jdl@freescale.com>
Date
Jun 27, 2008, 18:18 UTC
Message-ID
<48652F01.4080309@freescale.com>
In-Reply-To
<6844644e0806271058r738e300fxf10f50b4ad29a93c@mail.gmail.com>
Doug Reiland wrote:
Show 8 quoted lines
> 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: Doug ReilandNext: Doug Reiland
Message 2 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.