DEV Community

Cover image for 2.Clone Git Repository on Storage Server
Thu Kha Kyawe
Thu Kha Kyawe

Posted on

2.Clone Git Repository on Storage Server

Step 1: Connect to the Storage Server

From your jump server, connect to the Storage Server:

# Connect from jump server to storage server
ssh natasha@ststor01
# Password: Bl@kW
Enter fullscreen mode Exit fullscreen mode

Step 2: Clone the repository

Once logged in as natasha on ststor01, clone the repository:

# Clone the repository to the specified directory
git clone /opt/games.git /usr/src/kodekloudrepos/games
Enter fullscreen mode Exit fullscreen mode

Step 3: Verify the clone

Check that the repository was cloned successfully:

# Verify the repository was cloned
ls -la /usr/src/kodekloudrepos/games
cd /usr/src/kodekloudrepos/games
git status
Enter fullscreen mode Exit fullscreen mode


Resources & Next Steps

* 💼 Let's Connect: Linkedin - I'd love to connect with you

Top comments (0)