Sync github with godaddy account

I develop front-end and server-side websites hosted on godaddy. I was looking for a way to synchronize the godaddy file manager with my local repository so that I could not load the edited files every time. I directly push my code on github, but is there any way to direct the code directly to godaddy account without using its file manager?

Also sometimes, with other systems, I edit the code directly on the server, if I have some problems with the code, which then becomes difficult to get on the local system.

It would be very useful to press it directly without using the file manager every time.

+5
source share
1 answer

Would be better:

  • install Git on Godaddy (as in this blog post )
  • set up the bare repo on the upstream side (i.e., the GoDady side, the one where you will click your code)
  • add a post-receive hook for this upstream repo to update the non-naked repo: see the links in the Is--barecore.bare option equal to config in Git? "
+4
source

All Articles