S
S
SergT2016-04-04 13:00:09
PHP
SergT, 2016-04-04 13:00:09

Version control of module development for different sites under Bitrix?

Hello.
I've been programming in php for a long time, but I've never used version control or anything like that. All by hand. At the moment I am developing a new module for two completely different sites under Bitrix, but the module does the same thing, even the structure of infoblocks within the sites is almost identical.
I developed the module on the local machine, then the whole thing needs to be uploaded to the working site. There were no problems, just copied. But when the same functionality appeared on the second working site and now I have to work from three different computers from three different places where it is not possible to keep one local copy of the project, I thought about the possibility of Version Control or maybe it is called differently in my case .
Development on computers is carried out from PhpStorm. I would like PhpStorm, when opening a file in one of the three projects (local version of the site, site1 or site2), to check this file for a new version from somewhere and offer to download it.
Please advise in which direction to study, what can be used to achieve what you want? I still have the opinion that VCS or Git is a little out of my scope.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Pochepko, 2016-04-04
@SergT

Just the same for your task. Create a remote repository where you will always check out the latest version. And at each workplace you will do an update (For Git git pull). And accordingly, at the end of the work, upload the result of the work to the remote repository. (git push).
If it's easier, and you have a host (not local), then you can do synchronization via FTP. Read the doc on this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question