V
V
Vladimir Banduristov2020-09-21 13:58:59
phpstorm
Vladimir Banduristov, 2020-09-21 13:58:59

How to clone a project right away with git?

Here I have a remote PHP project on a server. It has a git that looks at the remote repository.
Usually a person goes there. makes edits, cuts via SSH, commits. pushes, etc.

But the developer asks me if I create a project in PHP Storm using Create project from existing files FTP, then it turns out that I won’t have a git locally. and I will not be able to work like this, commit and push to a remote repository. Is it so?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2020-09-21
@Tomio

If he pulls up the .git folder along with all the project files from FTP , then he will be able to work with the project through the repository. Naturally, he must have Git installed on his system. Plus, he will need to check origin. If he is registered via https, then he will have to enter his login and password each time. If ssh is registered there, then you will need to take care of a bunch of SSH keys for the local repository and the remote one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question