Skip to content

Latest commit

 

History

History
 
 

git-install-and-create-bare-repository

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Git Install and Create Bare Repository

Problem

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/official.git (make sure to use exact name).

Solution

sshpass -p Bl@kW ssh -o StrictHostKeyChecking=no [email protected]
echo Bl@kW | sudo -S yum install -y git
sudo git init --bare /opt/official.git