A
A
Alexander2020-05-22 16:42:09
git
Alexander, 2020-05-22 16:42:09

How to set up git to work on your server?

Please suggest what to watch and read.
There is a dedicated server with a website on it. There is a repository on Bitbucket.
I run the site with PhpShtorm and send commits to Bitbucket. Actually, this is where the work with the git ends.
How to make it mature so that one branch is for development and the data from this branch is displayed on the test site, and the other branch is the main branch and its data is on the production site. So that after testing in the test branch, a pull request was sent to the main branch of the change and everything changed on the main site.
Site on reg.ru

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stepan Krapivin, 2020-05-22
@xevin

Read about CI/CD systems.
Specifically on Bitbucket, look towards bitbucket pipelines

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question