mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
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:
parent
90ea286a50
commit
362e08a2b6
|
|
@ -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
|
||||
.
|
||||
|
|
|
|||
|
|
@ -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 && git remote -v
|
|||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Andrew Griffiths <<a href="mailto:mail@andrewgriffithsonline.com" data-bare-link="true">mail@andrewgriffithsonline.com</a>></p>
|
||||
<p>Written by Andrew Griffiths <<a href="mailto:mail@andrewgriffithsonline.com" data-bare-link="true">mail@andrewgriffithsonline.com</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue