1. Home
  2. Developer Tools
  3. Using Git to Manage Software

Using Git to Manage Software

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.

For more in-depth help regarding Git and all of its commands, you may want to read through the quick reference guide or the official documentation.

Was this article helpful?

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.