Web lists-archives.com

Re: using git locally

On 2019-05-17 15:59, Eduardo M KALINOWSKI wrote:
On 17/05/2019 11:31, mick crane wrote:
well that seems to work
"git clone myserver:/path_to_git_repository"
"git remote add origin myserver:/path_to_git_repository"
fatal: not a git repository (or any of the parent directories): .git

That's because git remote add is meant to add a remote to an existing
git (local) repository. You're probably running it on an empty
directory, so it complains (correctly) that you're not in a repository.

Oh I see, thought message was about the other end.
Key ID    4BFEBB31