Answer the question
In order to leave comments, you need to log in
How to upload files to hosting?
Hello. Not long ago I began to use the git system in my projects. There was such a question. After developing and merging the branches in the project, is it possible to upload all the changes to the server? I made several branches in the project, uploaded them to the repository, and after merging the branches, can I upload these changes to a third-party server so that after the test I have the current version already on the hosting? Or do you need to download all the files and upload them to the hosting in some other way?
Is this option of uploading files to the server generally possible? Prompt in what direction to study a question. Thanks everyone for the replies
Answer the question
In order to leave comments, you need to log in
Any option is possible.
- in the simplest cases, they just do git pull on the server with their hands
- sometimes they add jenkins for automation
- and over time, a blue-green deployment appears
In Google, type a couple of words - git deploy. And you will receive not only two carriages of advice, but also a ready-made tool
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question