Skip to content

Commit 7d59c28

Browse files
author
Vipul Kumar
committed
[Fix] add missing colon
We generally separate statement and commands with a colon.
1 parent 6183d83 commit 7d59c28

File tree

15 files changed

+26
-26
lines changed

15 files changed

+26
-26
lines changed

book/01-introduction/sections/help.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $ git <verb> --help
1010
$ man git-<verb>
1111
----
1212

13-
For example, you can get the manpage help for the `git config` command by running(((git commands, help)))
13+
For example, you can get the manpage help for the `git config` command by running:(((git commands, help)))
1414

1515
[source,console]
1616
----

book/01-introduction/sections/installing.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ If you're using a RPM-based distribution (Fedora/RHEL/RHEL-derivatives), you als
114114
$ sudo dnf install getopt
115115
----
116116

117-
Additionally, if you're using Fedora/RHEL/RHEL-derivatives, you need to do this
117+
Additionally, if you're using Fedora/RHEL/RHEL-derivatives, you need to do this:
118118

119119
[source,console]
120120
----

book/02-git-basics/sections/viewing-history.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After you have created several commits, or if you have cloned a repository with
55
The most basic and powerful tool to do this is the `git log` command.
66

77
These examples use a very simple project called ``simplegit''.
8-
To get the project, run
8+
To get the project, run:
99

1010
[source,console]
1111
----

book/04-git-server/sections/git-on-a-server.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ done.
2323

2424
You should now have a copy of the Git directory data in your `my_project.git` directory.
2525

26-
This is roughly equivalent to something like
26+
This is roughly equivalent to something like:
2727

2828
[source,console]
2929
----
@@ -45,7 +45,7 @@ Assuming that `/srv/git` exists on that server, you can set up your new reposito
4545
$ scp -r my_project.git [email protected]:/srv/git
4646
----
4747

48-
At this point, other users who have SSH-based read access to the `/srv/git` directory on that server can clone your repository by running
48+
At this point, other users who have SSH-based read access to the `/srv/git` directory on that server can clone your repository by running:
4949

5050
[source,console]
5151
----

book/04-git-server/sections/protocols.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ $ chmod a+x hooks/post-update
105105

106106
That's all.(((hooks, post-update)))
107107
The `post-update` hook that comes with Git by default runs the appropriate command (`git update-server-info`) to make HTTP fetching and cloning work properly.
108-
This command is run when you push to this repository (over SSH perhaps); then, other people can clone via something like
108+
This command is run when you push to this repository (over SSH perhaps); then, other people can clone via something like:
109109

110110
[source,console]
111111
----

book/05-distributed-git/sections/maintaining.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ For example, suppose you have a project that looks like this:
384384
.Example history before a cherry-pick
385385
image::images/rebasing-1.png[Example history before a cherry-pick]
386386

387-
If you want to pull commit `e43a6` into your `master` branch, you can run
387+
If you want to pull commit `e43a6` into your `master` branch, you can run:
388388

389389
[source,console]
390390
----

book/07-git-tools/sections/advanced-merging.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ In the `ignore-space-change` merge, we actually ended up with a few lines with D
226226
If you want to get an idea before finalizing this commit about what was actually changed between one side or the other, you can ask `git diff` to compare what is in your working directory that you're about to commit as the result of the merge to any of these stages.
227227
Let's go through them all.
228228

229-
To compare your result to what you had in your branch before the merge, in other words, to see what the merge introduced, you can run `git diff --ours`
229+
To compare your result to what you had in your branch before the merge, in other words, to see what the merge introduced, you can run `git diff --ours`:
230230

231231
[source,console]
232232
----

book/07-git-tools/sections/revision-selection.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ $ git show HEAD@{5}
138138
----
139139

140140
You can also use this syntax to see where a branch was some specific amount of time ago.
141-
For instance, to see where your `master` branch was yesterday, you can type
141+
For instance, to see where your `master` branch was yesterday, you can type:
142142

143143
[source,console]
144144
----
@@ -252,7 +252,7 @@ The other main ancestry specification is the `~` (tilde).
252252
This also refers to the first parent, so `HEAD~` and `HEAD^` are equivalent.
253253
The difference becomes apparent when you specify a number.
254254
`HEAD~2` means ``the first parent of the first parent,'' or ``the grandparent'' -- it traverses the first parents the number of times you specify.
255-
For example, in the history listed earlier, `HEAD~3` would be
255+
For example, in the history listed earlier, `HEAD~3` would be:
256256

257257
[source,console]
258258
----

book/07-git-tools/sections/rewriting-history.asc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ Once you're satisfied with your changes, run
150150
----
151151

152152
These instructions tell you exactly what to do.
153-
Type
153+
Type:
154154

155155
[source,console]
156156
----
157157
$ git commit --amend
158158
----
159159

160160
Change the commit message, and exit the editor.
161-
Then, run
161+
Then, run:
162162

163163
[source,console]
164164
----
@@ -172,7 +172,7 @@ Each time, Git will stop, let you amend the commit, and continue when you're fin
172172
==== Reordering Commits
173173

174174
You can also use interactive rebases to reorder or remove commits entirely.
175-
If you want to remove the ``added cat-file'' commit and change the order in which the other two commits are introduced, you can change the rebase script from this
175+
If you want to remove the ``added cat-file'' commit and change the order in which the other two commits are introduced, you can change the rebase script from this:
176176

177177
[source,console]
178178
----

book/07-git-tools/sections/subtree-merges.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Instead, you must run `git diff-tree` with the branch you want to compare to:
9595
$ git diff-tree -p rack_branch
9696
----
9797

98-
Or, to compare what is in your `rack` subdirectory with what the `master` branch on the server was the last time you fetched, you can run
98+
Or, to compare what is in your `rack` subdirectory with what the `master` branch on the server was the last time you fetched, you can run:
9999

100100
[source,console]
101101
----

0 commit comments

Comments
 (0)