summaryrefslogtreecommitdiffstats
path: root/git-push.html
diff options
context:
space:
mode:
Diffstat (limited to 'git-push.html')
-rw-r--r--git-push.html42
1 files changed, 21 insertions, 21 deletions
diff --git a/git-push.html b/git-push.html
index fef78f778..85d874d1f 100644
--- a/git-push.html
+++ b/git-push.html
@@ -1340,22 +1340,22 @@ should be used with caution on unsecured networks.</p></div>
<div class="ulist"><ul>
<li>
<p>
-ssh://&#91;user@&#93;host.xz&#91;:port&#93;/path/to/repo.git/
+<code>ssh://</code>&#91;<em>&lt;user&gt;</em><code>@</code>&#93;<em>&lt;host&gt;</em>&#91;<code>:</code><em>&lt;port&gt;</em>&#93;<code>/</code><em>&lt;path-to-git-repo&gt;</em>
</p>
</li>
<li>
<p>
-git://host.xz&#91;:port&#93;/path/to/repo.git/
+<code>git://</code><em>&lt;host&gt;</em>&#91;:<em>&lt;port&gt;</em>&#93;<code>/</code><em>&lt;path-to-git-repo&gt;</em>
</p>
</li>
<li>
<p>
-http&#91;s&#93;://host.xz&#91;:port&#93;/path/to/repo.git/
+<code>http</code>&#91;<code>s</code>&#93;<code>://</code><em>&lt;host&gt;</em>&#91;<code>:</code><em>&lt;port&gt;</em>&#93;<code>/</code><em>&lt;path-to-git-repo&gt;</em>
</p>
</li>
<li>
<p>
-ftp&#91;s&#93;://host.xz&#91;:port&#93;/path/to/repo.git/
+<code>ftp</code>&#91;<code>s</code>&#93;<code>://</code><em>&lt;host&gt;</em>&#91;<code>:</code><em>&lt;port&gt;</em>&#93;<code>/</code><em>&lt;path-to-git-repo&gt;</em>
</p>
</li>
</ul></div>
@@ -1363,7 +1363,7 @@ ftp&#91;s&#93;://host.xz&#91;:port&#93;/path/to/repo.git/
<div class="ulist"><ul>
<li>
<p>
-&#91;user@&#93;host.xz:path/to/repo.git/
+&#91;<em>&lt;user&gt;</em><code>@</code>&#93;<em>&lt;host&gt;</em><code>:/</code><em>&lt;path-to-git-repo&gt;</em>
</p>
</li>
</ul></div>
@@ -1372,21 +1372,21 @@ first colon. This helps differentiate a local path that contains a
colon. For example the local path <code>foo:bar</code> could be specified as an
absolute path or <code>./foo:bar</code> to avoid being misinterpreted as an ssh
url.</p></div>
-<div class="paragraph"><p>The ssh and git protocols additionally support ~username expansion:</p></div>
+<div class="paragraph"><p>The ssh and git protocols additionally support <code>~</code><em>&lt;username&gt;</em> expansion:</p></div>
<div class="ulist"><ul>
<li>
<p>
-ssh://&#91;user@&#93;host.xz&#91;:port&#93;/~&#91;user&#93;/path/to/repo.git/
+<code>ssh://</code>&#91;<em>&lt;user&gt;</em><code>@</code>&#93;<em>&lt;host&gt;</em>&#91;<code>:</code><em>&lt;port&gt;</em>&#93;<code>/~</code><em>&lt;user&gt;</em><code>/</code><em>&lt;path-to-git-repo&gt;</em>
</p>
</li>
<li>
<p>
-git://host.xz&#91;:port&#93;/~&#91;user&#93;/path/to/repo.git/
+<code>git://</code><em>&lt;host&gt;</em>&#91;<code>:</code><em>&lt;port&gt;</em>&#93;<code>/~</code><em>&lt;user&gt;</em><code>/</code><em>&lt;path-to-git-repo&gt;</em>
</p>
</li>
<li>
<p>
-&#91;user@&#93;host.xz:/~&#91;user&#93;/path/to/repo.git/
+&#91;<em>&lt;user&gt;</em><code>@</code>&#93;<em>&lt;host&gt;</em><code>:~</code><em>&lt;user&gt;</em><code>/</code><em>&lt;path-to-git-repo&gt;</em>
</p>
</li>
</ul></div>
@@ -1395,12 +1395,12 @@ syntaxes may be used:</p></div>
<div class="ulist"><ul>
<li>
<p>
-/path/to/repo.git/
+<code>/path/to/repo.git/</code>
</p>
</li>
<li>
<p>
-file:///path/to/repo.git/
+<code>file:///path/to/repo.git/</code>
</p>
</li>
</ul></div>
@@ -1410,13 +1410,13 @@ details.</p></div>
<div class="paragraph"><p><code>git clone</code>, <code>git fetch</code> and <code>git pull</code>, but not <code>git push</code>, will also
accept a suitable bundle file. See <a href="git-bundle.html">git-bundle(1)</a>.</p></div>
<div class="paragraph"><p>When Git doesn&#8217;t know how to handle a certain transport protocol, it
-attempts to use the <code>remote-&lt;transport&gt;</code> remote helper, if one
+attempts to use the <code>remote-</code><em>&lt;transport&gt;</em> remote helper, if one
exists. To explicitly request a remote helper, the following syntax
may be used:</p></div>
<div class="ulist"><ul>
<li>
<p>
-<em>&lt;transport&gt;</em>::_&lt;address&gt;_
+<em>&lt;transport&gt;</em>::<em>&lt;address&gt;</em>
</p>
</li>
</ul></div>
@@ -1427,10 +1427,10 @@ invoked. See <a href="gitremote-helpers.html">gitremote-helpers(7)</a> for detai
you want to use a different format for them (such that the URLs you
use will be rewritten into URLs that work), you can create a
configuration section of the form:</p></div>
-<div class="listingblock">
-<div class="content">
-<pre><code> [url "&lt;actual-url-base&gt;"]
- insteadOf = &lt;other-url-base&gt;</code></pre>
+<div class="verseblock">
+<pre class="content"> [url "<em>&lt;actual-url-base&gt;</em>"]
+ insteadOf = <em>&lt;other-url-base&gt;</em></pre>
+<div class="attribution">
</div></div>
<div class="paragraph"><p>For example, with this:</p></div>
<div class="listingblock">
@@ -1443,10 +1443,10 @@ configuration section of the form:</p></div>
rewritten in any context that takes a URL to be "git://git.host.xz/repo.git".</p></div>
<div class="paragraph"><p>If you want to rewrite URLs for push only, you can create a
configuration section of the form:</p></div>
-<div class="listingblock">
-<div class="content">
-<pre><code> [url "&lt;actual-url-base&gt;"]
- pushInsteadOf = &lt;other-url-base&gt;</code></pre>
+<div class="verseblock">
+<pre class="content"> [url "<em>&lt;actual-url-base&gt;</em>"]
+ pushInsteadOf = <em>&lt;other-url-base&gt;</em></pre>
+<div class="attribution">
</div></div>
<div class="paragraph"><p>For example, with this:</p></div>
<div class="listingblock">