Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 1.85 KB

File metadata and controls

19 lines (11 loc) · 1.85 KB

Clone A Repository

Let's say you want to contribute to some awesome project, like this one. Most likely there will already be a repository. In that case you'll need to use the clone command to setup your local repository.

To clone a respository you need it's URL. Fortunately GitHub makes this simple. On the main respository page, click the 'Clone or download' button and then click the 'copy to clipboard' icon button. You should now have the URL in your clipboard. alt_text

To clone the repo, up a terminal and navigate to where you want your local repository to live. Then type git clone and paste the URL you just copied.

git clone https://github.com/codeforbtv/hello-world.git

Of course the URL will match which ever repository you are cloning.

alt_text

cd into your repo and you are ready to start coding.