Git Clone Repository Wizard: Remote Repository

You use the Clone Repository wizard to get a copy of an already existing Git repository.

At the Remote Repository page, you set the following properties:

Element Description

Repository URL

Select a Git root protocol and location from the drop-down list. The drop-down list contains a list of supported protocols, as well as previous Git root locations used in the IDE.

Username

Enter your user name for access to the repository. (Required for http, https, ssh, and sftp protocols.)

Password

Select to specify the password to access the repository. (Required for http, https, ssh, and sftp protocols.)

Password

Enter your password for access to the repository.

Save Password

Select the option if you want the IDE to remember your password.

Private/Public Key

Select to specify the identity file and passphrase. (Required for the ssh protocol.)

Private Key File

Enter the path to your identity file or click the Browse button to the right to browse for the file.

Passphrase

Enter the passphrase for access to the repository.

Save Passphrase

Select the option if you want the IDE to remember your passphrase.

You must specify either Username and Password or Username, Private Key File, and Passphrase to access a repository via ssh protocol.

Proxy Configuration

Click the Proxy configuration button to specify details of your proxy configuration to connect to the Git repository.


The IDE supports the following Git protocol types:

Protocol Element Description

file

Direct repository access (on local disk)

file:///path_to_repository

or

path_to_repository

http

Access via HTTP protocol

http://hostname/path_to_repository

https

Access via HTTP protocol with SSL encryption

https://hostname/path_to_repository

ssh

Access via SSH protocol

ssh://hostname/path_to_repository

or

[user@]hostname:/path_to_repository

sftp

Access via SFTP protocol

sftp://hostname/path_to_repository

git

Access via GIT protocol

git://hostname/path_to_repository



Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.