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

Re: How to create empty CENTRAL git with master / development branch ?

From
TCTomas Carnecky <tomas.carnecky@gmail.com>
Date
Apr 3, 2012, 15:22 UTC
Message-ID
<1333466542-ner-2699@calvin>
In-Reply-To
<4F7B0F1B.3000304@ira.uka.de>
On Tue, 03 Apr 2012 16:54:19 +0200, Holger Hellmuth <hellmuth@ira.uka.de> wrote:
Show 7 quoted lines
> Generally: If you want a central repository, the first one to push to it 
> might do something like this:
> 
> git remote add origin ssh://big.brother.edu/repo.git
> git push origin master
> git config branch.master.remote origin
> git config branch.master.merge refs/heads/master
or simply: git push -u origin master
tom
Previous: Holger HellmuthNext: J. Bakshi
Message 3 of 7 in “How to create empty CENTRAL git with master / development branch ?”
  1. J. BakshiApr 3, 2012
  2. Holger HellmuthApr 3, 2012
  3. Tomas CarneckyApr 3, 2012
  4. J. BakshiApr 4, 2012
  5. Junio C HamanoApr 4, 2012
  6. Holger HellmuthApr 4, 2012
  7. Holger HellmuthApr 4, 2012

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.