Difference between revisions of "Git"

From Hostek.com Wiki
Jump to: navigation, search
 
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.
  
Yes, the control panel includes support for cloning a remote repository to a domain on your VPS. To clone a repository you can select your domain from the '''Hosted Domains''' drop down, then click '''Git Deployment''' in the '''Files''' section, click '''Add Repo''' and fill out the git URL, username and password (if authentication is required), git branch, and folder on your site that you'd like to clone the repository to.
 
  
 
==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.