Answer the question
In order to leave comments, you need to log in
How to set up a git server?
Good afternoon.
I'm trying to set up git for remote access.
Created an empty local repository:
[email protected] MINGW64 /d/git
$ git init --bare test.git
Initialized empty Git repository in D:/git/test.git/
[email protected] MINGW64 ~/Documents/git
$ git clone ssh://[email protected]/git/test.git
Cloning into 'test'...
[email protected]'s password:
fatal: '/git/test.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Answer the question
In order to leave comments, you need to log in
You need to create an empty repository on the server, not on the client.
And from the client already push there what you need
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question