Skip to content

Commit 94222b6

Browse files
committed
Merge pull request #379 from crd/crd-punctuation
Nearly every other [source,console] section was preceded by a colon
2 parents 69a4743 + 6315ef5 commit 94222b6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

book/02-git-basics/sections/getting-a-repository.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The second clones an existing Git repository from another server.
77

88
==== Initializing a Repository in an Existing Directory
99

10-
If you're starting to track an existing project in Git, you need to go to the project's directory and type
10+
If you're starting to track an existing project in Git, you need to go to the project's directory and type:
1111

1212
[source,console]
1313
----

book/02-git-basics/sections/recording-changes.asc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Changes to be committed:
171171

172172
While the `git status` output is pretty comprehensive, it's also quite wordy.
173173
Git also has a short status flag so you can see your changes in a more compact way.
174-
If you run `git status -s` or `git status --short` you get a far more simplified output from the command.
174+
If you run `git status -s` or `git status --short` you get a far more simplified output from the command:
175175

176176
[source,console]
177177
----
@@ -338,7 +338,7 @@ Changes not staged for commit:
338338
modified: CONTRIBUTING.md
339339
----
340340

341-
Now you can use `git diff` to see what is still unstaged
341+
Now you can use `git diff` to see what is still unstaged:
342342

343343
[source,console]
344344
----
@@ -520,7 +520,7 @@ $ git rm --cached README
520520
----
521521

522522
You can pass files, directories, and file-glob patterns to the `git rm` command.
523-
That means you can do things such as
523+
That means you can do things such as:
524524

525525
[source,console]
526526
----
@@ -548,7 +548,7 @@ If you rename a file in Git, no metadata is stored in Git that tells it you rena
548548
However, Git is pretty smart about figuring that out after the fact – we'll deal with detecting file movement a bit later.
549549

550550
Thus it's a bit confusing that Git has a `mv` command.
551-
If you want to rename a file in Git, you can run something like
551+
If you want to rename a file in Git, you can run something like:
552552

553553
[source,console]
554554
----

0 commit comments

Comments
 (0)