R
R
Roman Komarnitsky2019-10-10 14:20:38
phpstorm
Roman Komarnitsky, 2019-10-10 14:20:38

How to synchronize a locally downloaded project with a project on a remote server?

Hello everyone)
There is the following situation:
I downloaded a file from a remote server test.php, it now contains the following content: "echo 'test';".
Another person came in and changed this file, I have a locally different copy, so I can overwrite the code with it)
If this is one file, then it’s half the trouble, because the editor can tell you that it has changed on the server, but what to do when the changes were in thousands files that I haven't opened and don't know about their status?
Can you somehow synchronize your local files with remote ones, but so that you don’t have to download absolutely everything?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2019-10-10
@romkom

Look at the answer in Russian stackoverflow, setting up to download and send changes. I recommend starting a git, even if the authorities are against it (the main thing is to protect the .git folder from downloading from outside) - with the git you will always figure out where the changes are, and with this approach you will suffer a lot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question