blob: 1473541b51f82b028dcec9f36754875b3f861d5a [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 Push to 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.push" name="org.netbeans.modules.git.ui.repository.remote.SelectUriStep.push"></a></p>
<div id="NBCSH1007"><!-- infolevel="all" infotype="General" --><a id="sthref99" name="sthref99"></a>
<h1>Git Push to Remote Repository Wizard: Remote Repository</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>You use the Push to Remote Repository wizard to contribute changes from your local Git repository into a public Git repository.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG270">
<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-t16">Element</th>
<th align="left" valign="bottom" id="r1c2-t16">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t16" headers="r1c1-t16">
<p>Configured Repository</p>
</td>
<td align="left" headers="r2c1-t16 r1c2-t16">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-t16" headers="r1c1-t16">
<p>Specify Git Repository Location</p>
</td>
<td align="left" headers="r3c1-t16 r1c2-t16">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-t16" headers="r1c1-t16">
<p>Remote Name</p>
</td>
<td align="left" headers="r4c1-t16 r1c2-t16">Specify the name of a remote Git repository.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t16" headers="r1c1-t16">
<p>Repository URL</p>
</td>
<td align="left" headers="r5c1-t16 r1c2-t16">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-t16" headers="r1c1-t16">
<p>Username</p>
</td>
<td align="left" headers="r6c1-t16 r1c2-t16">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-t16" headers="r1c1-t16">
<p>Password</p>
</td>
<td align="left" headers="r7c1-t16 r1c2-t16">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-t16" headers="r1c1-t16">
<p>Password</p>
</td>
<td align="left" headers="r8c1-t16 r1c2-t16">Enter your password for access to the repository.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t16" headers="r1c1-t16">
<p>Save Password</p>
</td>
<td align="left" headers="r9c1-t16 r1c2-t16">Select the option if you want the IDE to remember your password.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t16" headers="r1c1-t16">
<p>Private/Public Key</p>
</td>
<td align="left" headers="r10c1-t16 r1c2-t16">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-t16" headers="r1c1-t16">
<p>Private Key File</p>
</td>
<td align="left" headers="r11c1-t16 r1c2-t16">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-t16" headers="r1c1-t16">
<p>Passphrase</p>
</td>
<td align="left" headers="r12c1-t16 r1c2-t16">Enter the passphrase for access to the repository.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r13c1-t16" headers="r1c1-t16">
<p>Save Passphrase</p>
</td>
<td align="left" headers="r13c1-t16 r1c2-t16">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-t16" headers="r1c1-t16">
<p>Proxy Configuration</p>
</td>
<td align="left" headers="r14c1-t16 r1c2-t16">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-t17">Protocol</th>
<th align="left" valign="bottom" id="r1c2-t17">Element</th>
<th align="left" valign="bottom" id="r1c3-t17">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t17" headers="r1c1-t17">file</td>
<td align="left" headers="r2c1-t17 r1c2-t17">
<p>Direct repository access (on local disk)</p>
</td>
<td align="left" headers="r2c1-t17 r1c3-t17"><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-t17" headers="r1c1-t17">http</td>
<td align="left" headers="r3c1-t17 r1c2-t17">
<p>Access via HTTP protocol</p>
</td>
<td align="left" headers="r3c1-t17 r1c3-t17"><code dir="ltr">http://hostname/path_to_repository</code></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t17" headers="r1c1-t17">https</td>
<td align="left" headers="r4c1-t17 r1c2-t17">
<p>Access via HTTP protocol with SSL encryption</p>
</td>
<td align="left" headers="r4c1-t17 r1c3-t17"><code dir="ltr">https://hostname/path_to_repository</code></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t17" headers="r1c1-t17">ssh</td>
<td align="left" headers="r5c1-t17 r1c2-t17">
<p>Access via SSH protocol</p>
</td>
<td align="left" headers="r5c1-t17 r1c3-t17"><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-t17" headers="r1c1-t17">sftp</td>
<td align="left" headers="r6c1-t17 r1c2-t17">
<p>Access via SFTP protocol</p>
</td>
<td align="left" headers="r6c1-t17 r1c3-t17"><code dir="ltr">sftp://hostname/path_to_repository</code></td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t17" headers="r1c1-t17">git</td>
<td align="left" headers="r7c1-t17 r1c2-t17">
<p>Access via GIT protocol</p>
</td>
<td align="left" headers="r7c1-t17 r1c3-t17"><code dir="ltr">git://hostname/path_to_repository</code></td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH1027" name="NBCSH1027"></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>