F
F
Fedooot012021-08-18 16:50:52
git
Fedooot01, 2021-08-18 16:50:52

How to git clone files from local machine to server?

Hello. There is a local repository on the computer - a site in PHP. I want to send all files from it to the live web server via SSH without using third party services like github/gitlab etc. How can I do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2021-08-18
@Fedooot01

Make a remote repository.
Assign it as the main (origin) locally.
Make push.
Of course, pre-configure the connection to your server via ssh.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question