Day 22: Clone Git Repository on Storage Server | 100 Days of DevOps
Content:
Today I worked on cloning an existing Git repository on the storage server for the Nautilus application development team. This task ensures that developers have access to the repository locally on the server for further development activities.
What I Learned
How to clone a Git repository from a local path
Understanding how an empty repository behaves after cloning
Steps I Followed :
1. Connected to Storage Server
ssh natasha@ststor01
2. Navigated to Target Directory
cd /usr/src/kodekloudrepos
3. Cloned the Repository
git clone /opt/news.git
My Understanding
This task helped me understand how teams can create working copies of a centralized repository. Cloning from a local repository path is similar to cloning from remote sources like GitHub, except it happens within the same server environment.
What I Found Interesting
I found it interesting that Git treats local and remote repositories in a very similar way. Even an empty repository can be cloned successfully, which shows how flexible Git is in handling different development setups.
📌 Full notes: GitHub link