From 362e08a2b6d0cd43e867d73344f91a0ea5c28bb3 Mon Sep 17 00:00:00 2001 From: Yi EungJun Date: Tue, 26 Jul 2016 10:23:29 +0900 Subject: [PATCH] fork: Quote refs by backtick rather than single quote Follow what git does for the man pages[1]. [1]: https://github.com/git/git/commit/1249d8ad1c1b2d6fb42aabcaada2c0792d52232d --- man/git-fork.1 | 6 +++--- man/git-fork.html | 8 ++++---- man/git-fork.md | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/man/git-fork.1 b/man/git-fork.1 index c27cddb..e9e8043 100644 --- a/man/git-fork.1 +++ b/man/git-fork.1 @@ -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 . diff --git a/man/git-fork.html b/man/git-fork.html index 9bfb3dc..268c6c0 100644 --- a/man/git-fork.html +++ b/man/git-fork.html @@ -84,7 +84,7 @@
  1. forks the repo on github
  2. clones the repo into the current dir
  3. -
  4. adds the original repo as a remote called upstream
  5. +
  6. adds the original repo as a remote called upstream
@@ -92,8 +92,8 @@
  1. forks the current repo
  2. -
  3. rename the 'origin' remote repo to 'upstream'
  4. -
  5. adds the forked repo as a remote called origin
  6. +
  7. rename the origin remote repo to upstream
  8. +
  9. adds the forked repo as a remote called origin
@@ -128,7 +128,7 @@ $ cd expect.js && git remote -v

AUTHOR

-

Written by Andrew Griffiths <mail@andrewgriffithsonline.com>

+

Written by Andrew Griffiths <mail@andrewgriffithsonline.com>

REPORTING BUGS

diff --git a/man/git-fork.md b/man/git-fork.md index 523a1d5..e651b2b 100644 --- a/man/git-fork.md +++ b/man/git-fork.md @@ -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