Skip to content

Commit 98aed4e

Browse files
committed
Fix Monospace Issue in 10-git-internals refspec
- All branch names is monospaced. - Remove an extra whitespace.
1 parent 686d955 commit 98aed4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/10-git-internals/sections/refspec.asc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ From [email protected]:schacon/simplegit
6161
* [new branch] topic -> origin/topic
6262
----
6363

64-
In this case, the master branch pull was rejected because it wasn't a fast-forward reference.
64+
In this case, the `master` branch pull was rejected because it wasn't a fast-forward reference.
6565
You can override that by specifying the `+` in front of the refspec.
6666

6767
You can also specify multiple refspecs for fetching in your configuration file.
68-
If you want to always fetch the master and experiment branches, add two lines:
68+
If you want to always fetch the `master` and `experiment` branches, add two lines:
6969

7070
[source,ini]
7171
----
@@ -83,7 +83,7 @@ fetch = +refs/heads/qa*:refs/remotes/origin/qa*
8383
----
8484

8585
However, you can use namespaces (or directories) to accomplish something like that.
86-
If you have a QA team that pushes a series of branches, and you want to get the master branch and any of the QA team's branches but nothing else, you can use a config section like this:
86+
If you have a QA team that pushes a series of branches, and you want to get the `master` branch and any of the QA team's branches but nothing else, you can use a config section like this:
8787

8888
[source,ini]
8989
----
@@ -129,4 +129,4 @@ You can also use the refspec to delete references from the remote server by runn
129129
$ git push origin :topic
130130
----
131131

132-
Because the refspec is `<src>:<dst>`, by leaving off the `<src>` part, this basically says to make the topic branch on the remote nothing, which deletes it.
132+
Because the refspec is `<src>:<dst>`, by leaving off the `<src>` part, this basically says to make the `topic` branch on the remote nothing, which deletes it.

0 commit comments

Comments
 (0)