M
M
MRcracker2019-04-27 23:25:41
git
MRcracker, 2019-04-27 23:25:41

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

3 answer(s)
I
Ivan Shumov, 2019-04-27
@MRcracker

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

A
aol-nnov, 2019-04-27
@aol-nnov

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

D
Dmitry, 2019-05-06
@dlnsk

The easiest option is git-ftp ( https://github.com/git-ftp/git-ftp)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question