Answer the question
In order to leave comments, you need to log in
How to do git pull on the server?
Hello!
Please tell me how to do git pull on hosting?
What I did:
1. created a project on the local machine.
2. uploaded to gitlab https://gitlab.com/rozalina1996/realestate.
3. generated a public key on the hosting and added it to gitlab.
4. created a "bare" repository on the hosting with the command git clone --bare https://gitlab.com/rozalina1996/realestate.git
5. Now I have a realestate.git file on the hosting
What to do next - I do not quite understand. I tried as per instructions https://git-scm.com/book/ru/v1/Git-on-server-set... to do:
scp -r realestate.git yakhshisarova.ru:/private/realestate
scp: /private/realestate: No such file or directory
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question