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

Create Remote Repository from local

From
AZAntonio Cabañas Zurita <antoniozurita99@gmail.com>
Date
Jul 14, 2022, 09:50 UTC
Message-ID
<CADxQiQZR2pM4F3vizq_HyM6xeZMRHstNHPk2rXuux7LgqWkUfg@mail.gmail.com>
Hi,
I'm setting up a git server, but I've run into a little problem.

It is possible to generate a remote repository on the server from a local repository, or for this it must be created on the remote (server), regardless of whether it is by cloning or by remote add.

Assuming that I am in a newly created local repository I have tried:
Do a git remote add ssh://git@git/<location>

And I have not previously created a repository in location(on the server side), it returns an error that it is not a known repository in the destination.

I do not know if I explained well.
Thank you for your your time,
Cheers
Next: Ævar Arnfjörð Bjarmason
Message 1 of 2 in “Create Remote Repository from local”
  1. Antonio Cabañas ZuritaJul 14, 2022
  2. Ævar Arnfjörð BjarmasonJul 14, 2022

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.