DEV Community

Ian Haralalka
Ian Haralalka

Posted on

HTML and GIT

I am just starting to learn web development as a computer science student I have learned java and object oriented programming to some extent but just trying to clone a repo is really giving me a hard time for some reason, any suggestions? ive been stuck for an hour trying to clone a repo (I KNOW....)

Top comments (2)

Collapse
 
kaamkiya profile image
Kaamkiya

Open your terminal/command prompt/whatever it's called, and type the following:

git clone https://REPO_HOSTER/USERNAME/REPONAME
Enter fullscreen mode Exit fullscreen mode

Where REPO_HOSTER is the website hoster your repo (like github.com of codeberg.org), USERNAME is the name of the account that the repo was created by (for example, shiffman, cli, or Kaamkiya), and REPONAME is the name of the repository (like p5.js, three, factorial).

A proper example:

git clone https://github.com/Kaamkiya/devl
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ianhara profile image
Ian Haralalka

Thank you!