fork: Quote refs by backtick rather than single quote

Follow what git does for the man pages[1].

[1]: 1249d8ad1c
This commit is contained in:
Yi EungJun 2016-07-26 10:23:29 +09:00
parent 90ea286a50
commit 362e08a2b6
3 changed files with 10 additions and 10 deletions

View file

@ -19,7 +19,7 @@ forks the repo on github
clones the repo into the current dir
.
.IP "3." 4
adds the original repo as a remote called upstream
adds the original repo as a remote called \fBupstream\fR
.
.IP "" 0
.
@ -30,10 +30,10 @@ If a url is not given and the current dir is a github repo, fork the repo\.
forks the current repo
.
.IP "2." 4
rename the \'origin\' remote repo to \'upstream\'
rename the \fBorigin\fR remote repo to \fBupstream\fR
.
.IP "3." 4
adds the forked repo as a remote called origin
adds the forked repo as a remote called \fBorigin\fR
.
.IP "" 0
.

View file

@ -84,7 +84,7 @@
<ol>
<li>forks the repo on github</li>
<li>clones the repo into the current dir</li>
<li>adds the original repo as a remote called upstream</li>
<li>adds the original repo as a remote called <code>upstream</code></li>
</ol>
@ -92,8 +92,8 @@
<ol>
<li>forks the current repo</li>
<li>rename the 'origin' remote repo to 'upstream'</li>
<li>adds the forked repo as a remote called origin</li>
<li>rename the <code>origin</code> remote repo to <code>upstream</code></li>
<li>adds the forked repo as a remote called <code>origin</code></li>
</ol>
@ -128,7 +128,7 @@ $ cd expect.js &amp;&amp; git remote -v
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by Andrew Griffiths &lt;<a href="&#x6d;&#97;&#x69;&#108;&#116;&#x6f;&#58;&#109;&#x61;&#x69;&#x6c;&#64;&#x61;&#x6e;&#x64;&#114;&#101;&#x77;&#103;&#x72;&#x69;&#102;&#102;&#105;&#116;&#x68;&#x73;&#x6f;&#x6e;&#108;&#105;&#110;&#101;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#x6d;&#97;&#x69;&#108;&#x40;&#97;&#x6e;&#x64;&#x72;&#x65;&#x77;&#103;&#x72;&#x69;&#102;&#102;&#x69;&#116;&#104;&#x73;&#x6f;&#110;&#108;&#x69;&#110;&#101;&#x2e;&#x63;&#111;&#x6d;</a>&gt;</p>
<p>Written by Andrew Griffiths &lt;<a href="&#x6d;&#97;&#x69;&#108;&#x74;&#111;&#x3a;&#x6d;&#x61;&#x69;&#x6c;&#64;&#97;&#x6e;&#100;&#x72;&#101;&#x77;&#x67;&#x72;&#105;&#x66;&#x66;&#x69;&#x74;&#x68;&#x73;&#x6f;&#110;&#108;&#105;&#x6e;&#101;&#46;&#x63;&#111;&#109;" data-bare-link="true">&#x6d;&#x61;&#105;&#108;&#64;&#97;&#110;&#100;&#114;&#x65;&#119;&#x67;&#x72;&#x69;&#x66;&#102;&#105;&#116;&#x68;&#115;&#111;&#x6e;&#108;&#105;&#x6e;&#x65;&#x2e;&#x63;&#111;&#x6d;</a>&gt;</p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>

View file

@ -11,13 +11,13 @@ git-fork(1) -- Fork a repo on github
1. forks the repo on github
2. clones the repo into the current dir
3. adds the original repo as a remote called upstream
3. adds the original repo as a remote called `upstream`
If a url is not given and the current dir is a github repo, fork the repo.
1. forks the current repo
3. rename the 'origin' remote repo to 'upstream'
3. adds the forked repo as a remote called origin
3. rename the `origin` remote repo to `upstream`
3. adds the forked repo as a remote called `origin`
## EXAMPLE