Configure git on a shared hosting

1

I have a shared hosting in the hostgator and in the description of the plans vi that git client is accepted. I got in touch with Hostgator support to better understand details of the git client they are talking about, here's the answer:

"The difference between the Git server and Git Client, lies in functionality, where a Git client is just a user using external servers.

Since the Git server would be used to create a repository and provide other users, as it is not allowed to use shared servers as a repository, it is not possible to perform the procedure in P, M, Business, Plus, and Reseller plans. "

The question is, do I have a private repository on bitbucket, I can configure the server so that when pushing on my local machine, the changes are automatically saved in the repository and replicated to the site?

    
asked by anonymous 24.08.2015 / 20:05

1 answer

2

Hello, Comrade. I had the same problem when working with gitlab and using heroku. I have not seen any way to resolve this yet if not: -Create or synchronize your project with the remote repository (in your case [email protected]: public_html / project-name) -In this case you will have two development branches-origin and the remote repository.

See this article, and show me how to do this in the smallest detail: link

or this: link

I hope I have helped ...

    
24.08.2015 / 22:14