Just Host Web Hosting Help
VPS or Dedicated Hosting - Installing Git
Git is a great open-source application to help you track the versions of files and projects that you work on.
You will need to make sure that you have Sudo Access enabled. If you have not enabled sudo access please see Enabling Sudo Access to learn how to do so.
Here is how you install Git,
- Open an SSH client and login.
- Then type:
sudo yum install git
Note: If you are logging in as root you do not need to type
sudo.This will install the Git functions for you.
Note: If you encounter an error regarding perl, try using:
yum install git --disableexcludes=main --skip-broken
- Make a directory for the repository.
mkdir example.git
Note: The use of .git is for the conformity with the other .git folders that are created in the repository. You can name the folder whatever you would like.
- Change to the new directory.
cd example.git - Then type:
git --bare init
Note: The reason for using the
--bare is to mark it as the primary repository for this git project. init stands for initialize.
To learn more on how to use Git, please go to Git - Documentation.
139,024 views
bookmark
share
tags: dedicated git install server yum
Recommended Help Content
11,405 views
tags: backup cpanel dedicated hosting restore server transfer vps
Related Help Content
10,959 views
tags: application configserver csf dedicated django elastisearch ffmpeg java js litespeed mongodb nginx node private python server tomcat virtual vps
13,088 views
tags: centos cpanel dedicated hosting private server upgrade virtual vps
E-mail
Twitter
Google Bookmarks
Facebook
MySpace
Digg
Reddit
Delicious
LinkedIn
StumbleUpon