diff --git a/book/10-git-internals/sections/refspec.asc b/book/10-git-internals/sections/refspec.asc index f8157ce56..1cfc7028d 100644 --- a/book/10-git-internals/sections/refspec.asc +++ b/book/10-git-internals/sections/refspec.asc @@ -18,7 +18,7 @@ Running the command above adds a section to your repository's `.git/config` file fetch = +refs/heads/*:refs/remotes/origin/* ---- -The format of the refspec is, first, an optional `+`, followed by `:`, where `` is the pattern for references on the remote side and `` is where those references will be tracked locally. +The format of the refspec is, first, an optional `{plus}`, followed by `:`, where `` is the pattern for references on the remote side and `` is where those references will be tracked locally. The `+` tells Git to update the reference even if it isn't a fast-forward. In the default case that is automatically written by a `git remote add origin` command, Git fetches all the references under `refs/heads/` on the server and writes them to `refs/remotes/origin/` locally.