blob: 5b3a9fb898c892b3319d4d697df6f5d88c0691aa [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Git Fetch from Remote Repository Wizard: Remote Repository</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="org.netbeans.modules.git.ui.repository.remote.SelectUriStep.fetch" name="org.netbeans.modules.git.ui.repository.remote.SelectUriStep.fetch"></a></p>
<div id="NBCSH959"><!-- infolevel="all" infotype="General" --><a id="sthref95" name="sthref95"></a>
<h1>Git Fetch from Remote Repository Wizard: Remote Repository</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>You use the Fetch from Remote Repository wizard to get the changes from the original remote repository that you do not have yet.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG266">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>The Remote Repository page contains the following elements:</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t10">Element</th>
<th align="left" valign="bottom" id="r1c2-t10">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t10" headers="r1c1-t10">
<p>Select Configured Git Repository Location</p>
</td>
<td align="left" headers="r2c1-t10 r1c2-t10">Select an earlier accessed Git root location used in the IDE from the drop-down list.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t10" headers="r1c1-t10">
<p>Specify Git Repository Location</p>
</td>
<td align="left" headers="r3c1-t10 r1c2-t10">Set the path to a remote Git repository that has not been accessed yet.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t10" headers="r1c1-t10">
<p>Remote Name</p>
</td>
<td align="left" headers="r4c1-t10 r1c2-t10">Specify the name of a remote Git repository.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t10" headers="r1c1-t10">
<p>Repository URL</p>
</td>
<td align="left" headers="r5c1-t10 r1c2-t10">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.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t10" headers="r1c1-t10">
<p>Username</p>
</td>
<td align="left" headers="r6c1-t10 r1c2-t10">Enter your user name for access to the repository. (Required for <code dir="ltr">http</code>, <code dir="ltr">https</code>, <code dir="ltr">ssh</code>, and <code dir="ltr">sftp</code> protocols.)</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t10" headers="r1c1-t10">
<p>Password</p>
</td>
<td align="left" headers="r7c1-t10 r1c2-t10">Select to specify the password to access the repository. (Required for <code dir="ltr">http</code>, <code dir="ltr">https</code>, <code dir="ltr">ssh</code>, and <code dir="ltr">sftp</code> protocols.)</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t10" headers="r1c1-t10">
<p>Password</p>
</td>
<td align="left" headers="r8c1-t10 r1c2-t10">Enter your password for access to the repository.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t10" headers="r1c1-t10">
<p>Save Password</p>
</td>
<td align="left" headers="r9c1-t10 r1c2-t10">Select the option if you want the IDE to remember your password.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t10" headers="r1c1-t10">
<p>Private/Public Key</p>
</td>
<td align="left" headers="r10c1-t10 r1c2-t10">Select to specify the identity file and passphrase. (Required for the <code dir="ltr">ssh</code> protocol.).</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r11c1-t10" headers="r1c1-t10">
<p>Private Key File</p>
</td>
<td align="left" headers="r11c1-t10 r1c2-t10">Enter the path to your identity file or click the Browse button to the right to browse for the file.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r12c1-t10" headers="r1c1-t10">
<p>Passphrase</p>
</td>
<td align="left" headers="r12c1-t10 r1c2-t10">Enter the passphrase for access to the repository.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r13c1-t10" headers="r1c1-t10">
<p>Save Passphrase</p>
</td>
<td align="left" headers="r13c1-t10 r1c2-t10">Select the option if you want the IDE to remember your passphrase.
<p>You must specify either Username and Password or Username, Private Key File, and Passphrase to access a repository via ssh protocol.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r14c1-t10" headers="r1c1-t10">
<p>Proxy Configuration</p>
</td>
<td align="left" headers="r14c1-t10 r1c2-t10">Click the Proxy configuration button to specify details of your proxy configuration to connect to the Git repository.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>The IDE supports the following Git protocol types:</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="15%" />
<col width="30%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t11">Protocol</th>
<th align="left" valign="bottom" id="r1c2-t11">Element</th>
<th align="left" valign="bottom" id="r1c3-t11">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t11" headers="r1c1-t11">file</td>
<td align="left" headers="r2c1-t11 r1c2-t11">
<p>Direct repository access (on local disk)</p>
</td>
<td align="left" headers="r2c1-t11 r1c3-t11"><code dir="ltr">file:///path_to_repository</code>
<p>or</p>
<p><code dir="ltr">path_to_repository</code></p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t11" headers="r1c1-t11">http</td>
<td align="left" headers="r3c1-t11 r1c2-t11">
<p>Access via HTTP protocol</p>
</td>
<td align="left" headers="r3c1-t11 r1c3-t11"><code dir="ltr">http://hostname/path_to_repository</code></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t11" headers="r1c1-t11">https</td>
<td align="left" headers="r4c1-t11 r1c2-t11">
<p>Access via HTTP protocol with SSL encryption</p>
</td>
<td align="left" headers="r4c1-t11 r1c3-t11"><code dir="ltr">https://hostname/path_to_repository</code></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t11" headers="r1c1-t11">ssh</td>
<td align="left" headers="r5c1-t11 r1c2-t11">
<p>Access via SSH protocol</p>
</td>
<td align="left" headers="r5c1-t11 r1c3-t11"><code dir="ltr">ssh://hostname/path_to_repository</code>
<p>or</p>
<p><code dir="ltr">[user@]hostname:/path_to_repository</code></p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t11" headers="r1c1-t11">sftp</td>
<td align="left" headers="r6c1-t11 r1c2-t11">
<p>Access via SFTP protocol</p>
</td>
<td align="left" headers="r6c1-t11 r1c3-t11"><code dir="ltr">sftp://hostname/path_to_repository</code></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t11" headers="r1c1-t11">git</td>
<td align="left" headers="r7c1-t11 r1c2-t11">
<p>Access via GIT protocol</p>
</td>
<td align="left" headers="r7c1-t11 r1c3-t11"><code dir="ltr">git://hostname/path_to_repository</code></td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH979" name="NBCSH979"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE,</i>
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG237">
<param name="text" value="<html><u>&quot;Versioning Applications with Git&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>