Difference between revisions of "Git"
From Hostek.com Wiki
Line 1: | Line 1: | ||
==VPS== | ==VPS== | ||
− | '''Can I use Git on my VPS?''' | + | '''Can I use Git on my VPS/Server?''' |
+ | |||
+ | Yes, the control panel includes support for cloning a remote repository to a domain on your VPS/Server. | ||
+ | |||
+ | To clone a repository follow these steps: | ||
+ | #select your domain from the '''Hosted Domains''' drop down | ||
+ | #then click '''Git Deployment''' in the '''Files''' section | ||
+ | #click '''Add Repo''' | ||
+ | #fill out the following fields: | ||
+ | ##git URL | ||
+ | ##username and password (if authentication is required) | ||
+ | ##git branch | ||
+ | ##folder on your site that you'd like to clone the repository to | ||
+ | |||
+ | NOTE: Your server will check the repository every few minutes to look for updated files. | ||
− | |||
==Shared== | ==Shared== | ||
'''Can I use Git on my shared hosting package?''' | '''Can I use Git on my shared hosting package?''' | ||
− | + | We don't currently support or facilitate the use of Git on our shared hosting packages. | |
There are several 3rd party services available to manage your code with Git and deploy via FTP. | There are several 3rd party services available to manage your code with Git and deploy via FTP. |
Latest revision as of 00:29, 19 September 2017
VPS
Can I use Git on my VPS/Server?
Yes, the control panel includes support for cloning a remote repository to a domain on your VPS/Server.
To clone a repository follow these steps:
- select your domain from the Hosted Domains drop down
- then click Git Deployment in the Files section
- click Add Repo
- fill out the following fields:
- git URL
- username and password (if authentication is required)
- git branch
- folder on your site that you'd like to clone the repository to
NOTE: Your server will check the repository every few minutes to look for updated files.
Can I use Git on my shared hosting package?
We don't currently support or facilitate the use of Git on our shared hosting packages.
There are several 3rd party services available to manage your code with Git and deploy via FTP.