Harriss Harriss - 1 year ago 224
Git Question

cloning files from server to a local folder - git

I am super new to github and I need to know, how to clone a repository which is on the server to a local folder (local computer).

Assuming, x is the folder (destination on local computer) and y is the repository.

I presume gitclone is the option, could someone briefly explain?


Answer Source

You simply have to copy the repository url,

go to the folder where you want to repository to be in and do a git clone.

#cd to the desired folder
cd folder

# grab the git repo to the desired folder inside this folder
git clone <url> <desired folder name>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download