S
S
Sergey2015-09-23 22:52:29
linux
Sergey, 2015-09-23 22:52:29

Why is the repository not cloned from the server?

On the server in the folder with the site did

git init
git add *
git commit -m 'initial project version'

On the local machine I'm trying to do
git clone ssh://[email protected]***.38.88/home/admin/web/folder/public_html/

Issues
ssh: connect to host 219.***.38.88 port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Imported rsa keys (now it connects from the local machine via ssh without a password)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2015-09-23
@gangstarcj

git init --bare
www.saintsjd.com/2011/01/what-is-a-bare-git-repository
https://git-scm.com/book/en/v2/Git-on-the-Server-G...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question