Alex Rivera | Logout

What does cloning a GitHub repository mean?

Asked 2011-02-28T14:16:27.340
23

I am trying to integrate Facebook with my app. I read this on developers.facebook.com:

  1. Install XCode
  2. Install Git
  3. Clone the GitHub repository with this command:
    git clone git://github.com/facebook/facebook-ios-sdk.git

I have installed XCode and Git.

What does it mean to clone a GitHub repository and how can I do that?

Edit
Report

1 Answer

4

Cloning a git repository is basically downloading a code base to your own machine, so you can use, edit... this code base.

For doing it is as easy as creating a folder where you want to store this code, and then from the terminal execute from this folder:

git clone git://github.com/facebook/facebook-ios-sdk.git .
answered 2011-02-28T14:19:59.807

Your Answer