Y
Y
yuzutadeda2015-07-13 17:19:57
PHP
yuzutadeda, 2015-07-13 17:19:57

What is the best way to organize the storage of a script in git for different versions of php?

There is a script which works on php 5.6.
There was a desire to rewrite it and optimize it for php 7.
Tell me how best to organize the storage of the script in git for different versions of php?
To make it convenient to develop and update several versions at once.
Maybe in different repositories? Or in different branches?
And how convenient will it be to make the same changes in such conditions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danil Antoshkin, 2015-07-13
@yuzutadeda

Create multiple branches for different versions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question