DEV Community

Cover image for Cloning a Repository
Prudence97
Prudence97

Posted on

Cloning a Repository

What Cloning a Repository does, is it helps provide the opportunity to download a source file and work on it locally. This helps make changes that could be effected in the original. Call it, The Experiment๐Ÿ˜Š.


the experiment


So it begins with,

Step 1: Selecting a Repository

Finding the repo is a step๐Ÿคท

Previous Project


Step 2: Green pill button

Click on the drop-down menu on green ๐Ÿ’š code button.

Green button


Step 2: The Link

Copy the link using the copy icon. (you're copying the GitHub link.๐Ÿ˜)

Copy Link


Step 3: The Code editor, Terminal and other stories

In a series sub-steps;
sub-step 1 Open your code editor

sub-step 2 open a new file, or new folder, or recent project.

sub-step 3 Open the terminal

VSCODE


Step 4: The Cloning

At the terminal, you'll want to change the directory (especially when you're in another directory.

A directorial sub-step๐Ÿ˜ถ

  1. Cd directory

  2. git clone repository link

and the cloning begins...

cloning


Step 5: The Cloning continues๐Ÿ˜‚๐Ÿ˜ถ

If we look closely we can see our cloned folder highlighted in green text๐Ÿ’š

cloned files


Step 5: The Cloning confirmed

๐Ÿ˜‚๐Ÿ˜‚ It's here though.

confirmation

Step Celebration

Naruto's Clone
Amazing, right?๐Ÿคญ๐Ÿ˜‚๐Ÿ˜‚

Until next time. Bye. See you soon.

Top comments (0)