Difference between revisions of "Git"

From Hostek.com Wiki
Jump to: navigation, search
(Created page with "==VPS== '''Can I use Git on my VPS?''' Yes, you can install and use Git on your VPS. Hostek doesn't actively support Git, but we're happy to look into any issues you may have...")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
==VPS==
 
==VPS==
'''Can I use Git on my VPS?'''
+
'''Can I use Git on my VPS/Server?'''
  
Yes, you can install and use Git on your VPS. Hostek doesn't actively support Git, but we're happy to look into any issues you may have.
+
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.
  
If you need assistance with opening a port or making any changes on your server to allow Git to work, please open a support ticket at https://support.hostek.com.
 
  
 
==Shared==
 
==Shared==
 
'''Can I use Git on my shared hosting package?'''   
 
'''Can I use Git on my shared hosting package?'''   
  
No, we don't currently support or facilitate the use of Git on our shared hosting packages.   
+
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:

  1. select your domain from the Hosted Domains drop down
  2. then click Git Deployment in the Files section
  3. click Add Repo
  4. fill out the following fields:
    1. git URL
    2. username and password (if authentication is required)
    3. git branch
    4. 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

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.