Git is an open source Version Control System. It can track changes in content from external repositories such as GitHub.
To use Git commands you will log in to your hosting account using an SSH client such as PuTTY.
If you see a message that SSH is not enabled when you attempt to connect, please contact us to get access.
Cloning a Project
To clone or copy a project, use the following command from your public_html directory.
git clone url directory
For example, if you wanted to clone a copy of the Forget Your Resume script from GitHub, you would do the following.
cd public_html git clone https://github.com/ebinnion/Forget-Your-Resume.git resume
That will load the software into a /resume folder in public_html and initiate a local copy of the software. From there, follow the developer’s instructions for manual installation.
Updating a Project
To keep your software up to date you have to tell your local copy to update itself. So for our example “Forget Your Resume” installation the commands are:
cd public_html/resume git pull
That will poll the remote server with the clone command and download and merge any changes. You may want to make a copy of any configuration files before running this command as they will be overwritten.