100-Days-Of-DevOps-Challenge-KodeKloud

Setup Git Repository on Server

The Nautilus development team has provided requirements to the DevOps team for a new application development project, specifically requesting the establishment of a Git repository. Follow the instructions below to create the Git repository on the Storage server in the Stratos DC:

Steps

  1. Login to Storage Server and Install git

     sudo yum update -y
     sudo yum install -y git
    
  2. Create a bare repository

    sudo git init --bare /opt/demo.git
    

Good to Know?

Git Repository Types

Bare Repository Benefits

Git Installation

Repository Naming