A
A
Anya Ivanova2021-02-06 21:49:23
git
Anya Ivanova, 2021-02-06 21:49:23

How to use git from FTP?

I am working on a site directly via ftp on Php Storm. I'm the only one on the project. I came across Git and it would help me a lot with version rollback.
What is the correct way to work with git and remote server?
My assumptions are to have a local copy of the site on your computer, link git to it and already upload the version to the "combat" site that is on the hosting?
But in order to visually see how the code works on the site, do you need a local copy on OpenServer, and not just a folder with the site?
Tell me please :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vasily Bannikov, 2021-02-06
@vabka

Gita development. Production without git. Continue uploading to the server via ftp/scp/rsync.

D
Dmitry, 2021-02-12
@dlnsk

https://github.com/git-ftp/git-ftp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question