29.07.2016 Views

front-end-developer_1_

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Front-End-Developer - Level 1<br />

Git clone<br />

Often, we'll want a local copy of a public repository on our local devices. This is called a<br />

clone in Git terminology.<br />

To create a local clone, find the GitHub repository URL and copy it - either from the address<br />

bar or with the copy to clipboard button (see red boxes below).<br />

In the terminal, navigate to the directory to store the cloned repository and run git clone with<br />

the chosen repo's URL:<br />

$ git clone https://github.com/epicodus_examples/title_case_sinatra<br />

Cloning into 'title_case'...<br />

remote: Counting objects: 14, done.<br />

remote: Total 14 (delta 0), reused 0 (delta 0), pack-reused 14<br />

Unpacking objects: 100% (14/14), done.<br />

Checking connectivity... done.<br />

The clone command creates a clone of the remote repository in the current directory,<br />

including the initialized .git repository so you can immediately begin working and making<br />

commits.<br />

Git clone<br />

86

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!