Answer the question
In order to leave comments, you need to log in
How to push project to ssh server?
I have a Laravel project on my computer, I cloned it from Gitlab.
Now I have access to the SSH server, I connected to it via [email protected], entered the password, and logged in.
Any git command output
fatal: not a git repository (or any of the parent directories): .git
Answer the question
In order to leave comments, you need to log in
Ssh is a communication protocol. By connecting to the machine via ssh, in fact, you get a terminal window on another device (on the server), roughly speaking, like a remote desktop. Therefore, on the server you need to go to the right folder, do git clone [url] and, it turns out, not push the project to the server, but pull it from the repository with the server
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question