Create Remote Repository from local
- From
- Antonio 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