blob: 274b2b7b9dcf255d98c1230c0362fdf2a16d98cd [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 Clone 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.clone.RepositoryStep" name="org.netbeans.modules.git.ui.clone.RepositoryStep"></a></p>
<div id="NBCSH917"><!-- infolevel="all" infotype="General" --><a id="sthref90" name="sthref90"></a>
<h1>Git Clone Repository Wizard: Remote Repository</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>You use the Clone Repository wizard to get a copy of an already existing Git repository.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG241">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>At the Remote Repository page, you set the following properties:</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-t2">Element</th>
<th align="left" valign="bottom" id="r1c2-t2">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t2" headers="r1c1-t2">
<p>Repository URL</p>
</td>
<td align="left" headers="r2c1-t2 r1c2-t2">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.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t2" headers="r1c1-t2">
<p>Username</p>
</td>
<td align="left" headers="r3c1-t2 r1c2-t2">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="r4c1-t2" headers="r1c1-t2">
<p>Password</p>
</td>
<td align="left" headers="r4c1-t2 r1c2-t2">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="r5c1-t2" headers="r1c1-t2">
<p>Password</p>
</td>
<td align="left" headers="r5c1-t2 r1c2-t2">Enter your password for access to the repository.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t2" headers="r1c1-t2">
<p>Save Password</p>
</td>
<td align="left" headers="r6c1-t2 r1c2-t2">Select the option if you want the IDE to remember your password.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t2" headers="r1c1-t2">
<p>Private/Public Key</p>
</td>
<td align="left" headers="r7c1-t2 r1c2-t2">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="r8c1-t2" headers="r1c1-t2">
<p>Private Key File</p>
</td>
<td align="left" headers="r8c1-t2 r1c2-t2">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="r9c1-t2" headers="r1c1-t2">
<p>Passphrase</p>
</td>
<td align="left" headers="r9c1-t2 r1c2-t2">Enter the passphrase for access to the repository.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t2" headers="r1c1-t2">
<p>Save Passphrase</p>
</td>
<td align="left" headers="r10c1-t2 r1c2-t2">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 <code dir="ltr">ssh</code> protocol.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r11c1-t2" headers="r1c1-t2">Proxy Configuration</td>
<td align="left" headers="r11c1-t2 r1c2-t2">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-t3">Protocol</th>
<th align="left" valign="bottom" id="r1c2-t3">Element</th>
<th align="left" valign="bottom" id="r1c3-t3">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t3" headers="r1c1-t3">file</td>
<td align="left" headers="r2c1-t3 r1c2-t3">
<p>Direct repository access (on local disk)</p>
</td>
<td align="left" headers="r2c1-t3 r1c3-t3"><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-t3" headers="r1c1-t3">http</td>
<td align="left" headers="r3c1-t3 r1c2-t3">
<p>Access via HTTP protocol</p>
</td>
<td align="left" headers="r3c1-t3 r1c3-t3"><code dir="ltr">http://hostname/path_to_repository</code></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t3" headers="r1c1-t3">https</td>
<td align="left" headers="r4c1-t3 r1c2-t3">
<p>Access via HTTP protocol with SSL encryption</p>
</td>
<td align="left" headers="r4c1-t3 r1c3-t3"><code dir="ltr">https://hostname/path_to_repository</code></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t3" headers="r1c1-t3">ssh</td>
<td align="left" headers="r5c1-t3 r1c2-t3">
<p>Access via SSH protocol</p>
</td>
<td align="left" headers="r5c1-t3 r1c3-t3"><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-t3" headers="r1c1-t3">sftp</td>
<td align="left" headers="r6c1-t3 r1c2-t3">
<p>Access via SFTP protocol</p>
</td>
<td align="left" headers="r6c1-t3 r1c3-t3"><code dir="ltr">sftp://hostname/path_to_repository</code></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t3" headers="r1c1-t3">git</td>
<td align="left" headers="r7c1-t3 r1c2-t3">
<p>Access via GIT protocol</p>
</td>
<td align="left" headers="r7c1-t3 r1c3-t3"><code dir="ltr">git://hostname/path_to_repository</code></td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH933" name="NBCSH933"></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>