D
D
dikium2020-10-08 08:59:48
git
dikium, 2020-10-08 08:59:48

How to configure git to only upload files to a server where git is not installed?

Good afternoon! There is such a situation: there is a local repository on git and there is a hosting on which git is not installed, but to which there is access via ssh.

Question: in this case, is it possible to configure git so that when pushing it, it simply uploads the changed files to the server via ssh to a specific folder? So that you do not have to manually torment the same filezill?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2020-10-08
@dikium

Plan A. Install git on hosting.
Plan B. Add a local git repository to gitlab / bitbucket / github and use the CI they offer, even tugging at just a bash script with rsync may be enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question