K
K
kal1br2021-02-19 21:19:00
git
kal1br, 2021-02-19 21:19:00

Is it possible to sync Git in local and remote project?

The project is on the server, I work from home, set up phpstorm via sftp. The work process goes like this: I spool a branch on a remote project, then I transfer the changes to myself, but it takes too much time, especially if I often switch between branches, I would like to know if I can somehow synchronize git so that if, for example, I switch a branch on the local project, it also switched on the remote one. If this is not possible, I would like to know what are the convenient options for working with a remote project.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2021-02-19
@iiiBird

There is a fundamentally wrong approach here. For such purposes, the same docker was invented, for example. So that you can deploy the project locally.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question