diff options
Diffstat (limited to 'git-push.html')
-rw-r--r-- | git-push.html | 42 |
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://[user@]host.xz[:port]/path/to/repo.git/
+<code>ssh://</code>[<em><user></em><code>@</code>]<em><host></em>[<code>:</code><em><port></em>]<code>/</code><em><path-to-git-repo></em>
</p>
</li>
<li>
<p>
-git://host.xz[:port]/path/to/repo.git/
+<code>git://</code><em><host></em>[:<em><port></em>]<code>/</code><em><path-to-git-repo></em>
</p>
</li>
<li>
<p>
-http[s]://host.xz[:port]/path/to/repo.git/
+<code>http</code>[<code>s</code>]<code>://</code><em><host></em>[<code>:</code><em><port></em>]<code>/</code><em><path-to-git-repo></em>
</p>
</li>
<li>
<p>
-ftp[s]://host.xz[:port]/path/to/repo.git/
+<code>ftp</code>[<code>s</code>]<code>://</code><em><host></em>[<code>:</code><em><port></em>]<code>/</code><em><path-to-git-repo></em>
</p>
</li>
</ul></div>
@@ -1363,7 +1363,7 @@ ftp[s]://host.xz[:port]/path/to/repo.git/ <div class="ulist"><ul>
<li>
<p>
-[user@]host.xz:path/to/repo.git/
+[<em><user></em><code>@</code>]<em><host></em><code>:/</code><em><path-to-git-repo></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><username></em> expansion:</p></div>
<div class="ulist"><ul>
<li>
<p>
-ssh://[user@]host.xz[:port]/~[user]/path/to/repo.git/
+<code>ssh://</code>[<em><user></em><code>@</code>]<em><host></em>[<code>:</code><em><port></em>]<code>/~</code><em><user></em><code>/</code><em><path-to-git-repo></em>
</p>
</li>
<li>
<p>
-git://host.xz[:port]/~[user]/path/to/repo.git/
+<code>git://</code><em><host></em>[<code>:</code><em><port></em>]<code>/~</code><em><user></em><code>/</code><em><path-to-git-repo></em>
</p>
</li>
<li>
<p>
-[user@]host.xz:/~[user]/path/to/repo.git/
+[<em><user></em><code>@</code>]<em><host></em><code>:~</code><em><user></em><code>/</code><em><path-to-git-repo></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’t know how to handle a certain transport protocol, it
-attempts to use the <code>remote-<transport></code> remote helper, if one
+attempts to use the <code>remote-</code><em><transport></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><transport></em>::_<address>_
+<em><transport></em>::<em><address></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 "<actual-url-base>"]
- insteadOf = <other-url-base></code></pre>
+<div class="verseblock">
+<pre class="content"> [url "<em><actual-url-base></em>"]
+ insteadOf = <em><other-url-base></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 "<actual-url-base>"]
- pushInsteadOf = <other-url-base></code></pre>
+<div class="verseblock">
+<pre class="content"> [url "<em><actual-url-base></em>"]
+ pushInsteadOf = <em><other-url-base></em></pre>
+<div class="attribution">
</div></div>
<div class="paragraph"><p>For example, with this:</p></div>
<div class="listingblock">
|