Cloning a Git Repository

See Also

The IDE enables you to clone an external Git Repository and to make it available within the IDE. You effectively create a copy or clone of the entire repository to work with in the IDE.

To clone a Git Repository:

  1. Choose Team > Git > Clone from the IDE's main menu. The Clone Repository wizard displays.
  2. In the Remote Repository panel of the wizard, specify the URL that contains the connection protocol and the location of the Git repository, user name and password (you can save the latter for the future if required).
  3. (Optional) Press Proxy Configuration to display the Options dialog box and set the proxy server settings. Click OK when finished.
  4. Click Next to switch to the next step of the wizard.
  5. In the Remote Branches panel, select the repository branch(es) to be fetched to your local repository. Click Next.
  6. In the Destination Directory panel, specify the following:
  7. Click Finish.
    After a Git repository is cloned, the metadata .git folder is created inside the folder you selected in the wizard.

Notes:

The IDE supports the following Git URLs:

ProtocolAccess MethodExample
fileDirect repository access (on local disk) file:///path_to_repository
or
path_to_repository
httpAccess via HTTP protocol http://hostname/path_to_repository
httpsAccess via HTTP protocol with SSL encryptionhttps://hostname/path_to_repository
ssh Access via SSH protocolssh://hostname/path_to_repository
sftp Access via SFTP protocolsftp://hostname/path_to_repository
git Access via GIT protocolgit://hostname/path_to_repository
See Also
About Git Support

Legal Notices