Git Install and Create Bare Repository

Author:

Git Install and Create Bare Repository

Task :

The Nautilus development team shared requirements with the DevOps team regarding new application development.—specifically, they want to set up a Git repository for that project. Create a Git repository on Storage server in Stratos DC as per details given below:

Install git package using yum on Storage server.

After that create a bare repository /opt/apps.git (make sure to use exact name).

Solutions :

$ ssh natasha@ststor01 
# sudo su
# cd /opt/
# yum install git -y
# clear
# git init --bare apps.git

 

Leave a Reply

Your email address will not be published. Required fields are marked *