Git Install and Create Repository

Tasks

  1. Install git package using yum on Storage server.

  2. After that, create/init a git repository named /opt/ecommerce.git (use the exact name as asked and make sure not to create a bare repository).

Steps

1

ssh to storage server

ssh natasha@ststor01
2

Get sudo access

sudo su -
3

Install git

yum install -y git
4

Get the directory

cd /opt
5

Init the file

git init /opt/ecommerce.git

Last updated