Git Pull from Remote Repository Wizard: Remote Repository

You use the Pull from Remote Repository wizard to fetch and merge the updates from a remote Git repository into the current HEAD of your local repository.

The Remote Repository page contains the following elements:

Element Description

Configured Git Repository

Select an earlier accessed Git root location used in the IDE from the drop-down list.

Specify Git Repository Location

Set the path to a remote Git repository that has not been accessed yet.

Remote Name

Specify the name of a remote Git repository.

Repository URL

Select a Git root protocol and location from the drop-down list. The drop-down list contains a list of protocols supported by 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.