Skip to content

Commit b709edc

Browse files
committed
Fix some spellings
Changes: - Add some ending dots. - Use macOS spelling. - Capitalize URL occurrences.
1 parent c57d21f commit b709edc

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

C-git-commands.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Accompanying the configuration instructions in <<ch01-getting-started#_editor>>,
5151
|==============================
5252
|Editor | Configuration command
5353
|Atom |`git config --global core.editor "atom --wait"`
54-
|BBEdit (Mac, with command line tools) |`git config --global core.editor "bbedit -w"`
54+
|BBEdit (macOS, with command line tools) |`git config --global core.editor "bbedit -w"`
5555
|Emacs |`git config --global core.editor emacs`
5656
|Gedit (Linux) |`git config --global core.editor "gedit --wait --new-window"`
5757
|Gvim (Windows 64-bit) |`git config --global core.editor "'C:\Program Files\Vim\vim72\gvim.exe' --nofork '%*'"` (Also see note below)

book/01-introduction/sections/installing.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ For more options, there are instructions for installing on several different Uni
3434
==== Installing on macOS
3535

3636
(((macOS, installing)))
37-
There are several ways to install Git on a Mac.
37+
There are several ways to install Git on macOS.
3838
The easiest is probably to install the Xcode Command Line Tools.(((Xcode)))
3939
On Mavericks (10.9) or above you can do this simply by trying to run `git` from the Terminal the very first time.
4040

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ In <<limit_options>> we'll list these and a few other common options for your re
276276
[cols="2,4",options="header"]
277277
|================================
278278
| Option | Description
279-
| `-<n>` | Show only the last n commits
279+
| `-<n>` | Show only the last n commits.
280280
| `--since`, `--after` | Limit the commits to those made after the specified date.
281281
| `--until`, `--before` | Limit the commits to those made before the specified date.
282282
| `--author` | Only show commits in which the author entry matches the specified string.
283283
| `--committer` | Only show commits in which the committer entry matches the specified string.
284-
| `--grep` | Only show commits with a commit message containing the string
285-
| `-S` | Only show commits adding or removing code matching the string
284+
| `--grep` | Only show commits with a commit message containing the string.
285+
| `-S` | Only show commits adding or removing code matching the string.
286286
|================================
287287

288288
For example, if you want to see which commits modifying test files in the Git source code history were committed by Junio Hamano in the month of October 2008 and are not merge commits, you can run something like this:(((log filtering)))

book/03-git-branching/sections/basic-branching-and-merging.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Normal merge conflict for 'index.html':
265265
Hit return to start merge resolution tool (opendiff):
266266
----
267267

268-
If you want to use a merge tool other than the default (Git chose `opendiff` in this case because the command was run on a Mac), you can see all the supported tools listed at the top after "`one of the following tools.`"
268+
If you want to use a merge tool other than the default (Git chose `opendiff` in this case because the command was run on macOS), you can see all the supported tools listed at the top after "`one of the following tools.`"
269269
Just type the name of the tool you'd rather use.
270270

271271
[NOTE]

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ image::images/gitlab-menu.png[The “Admin area” item in the GitLab menu]
3737
Everybody using your GitLab server must have a user account.
3838
User accounts are quite simple, they mainly contain personal information attached to login data.
3939
Each user account has a *namespace*, which is a logical grouping of projects that belong to that user.
40-
If the user +jane+ had a project named +project+, that project's url would be `http://server/jane/project`.
40+
If the user +jane+ had a project named +project+, that project's URL would be `http://server/jane/project`.
4141

4242
[[gitlab_users]]
4343
.The GitLab user administration screen
@@ -54,7 +54,7 @@ This is obviously a much more permanent and destructive action, and you will rar
5454
===== Groups
5555

5656
A GitLab group is a collection of projects, along with data about how users can access those projects.
57-
Each group has a project namespace (the same way that users do), so if the group +training+ has a project +materials+, its url would be `http://server/training/materials`.
57+
Each group has a project namespace (the same way that users do), so if the group +training+ has a project +materials+, its URL would be `http://server/training/materials`.
5858

5959
[[gitlab_groups]]
6060
.The GitLab group administration screen

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ image::images/git-instaweb.png[The GitWeb web-based user interface]
1010

1111
If you want to check out what GitWeb would look like for your project, Git comes with a command to fire up a temporary instance if you have a lightweight web server on your system like `lighttpd` or `webrick`.
1212
On Linux machines, `lighttpd` is often installed, so you may be able to get it to run by typing `git instaweb` in your project directory.
13-
If you're running a Mac, Leopard comes preinstalled with Ruby, so `webrick` may be your best bet.
13+
If you're running macOS, Leopard comes preinstalled with Ruby, so `webrick` may be your best bet.
1414
To start `instaweb` with a non-lighttpd handler, you can run it with the `--httpd` option.(((git commands, instaweb)))
1515

1616
[source,console]

book/04-git-server/sections/smart-http.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ You can do this with nearly any CGI-capable web server, so go with the one that
6868

6969
[NOTE]
7070
====
71-
For more information on configuring authentication in Apache, check out the Apache docs here: https://httpd.apache.org/docs/current/howto/auth.html[^]
71+
For more information on configuring authentication in Apache, check out the Apache docs here: https://httpd.apache.org/docs/current/howto/auth.html[^].
7272
====

book/06-github/sections/2-contributing.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Let's walk through an example of proposing a change to an open source project ho
5252
[TIP]
5353
====
5454
You can use the official *GitHub CLI* tool instead of the GitHub web interface for most things.
55-
The tool can be used on Windows, MacOS, and Linux systems.
55+
The tool can be used on Windows, macOS, and Linux systems.
5656
Go to the https://cli.github.com/[GitHub CLI homepage^] for installation instructions and the manual.
5757
====
5858

book/07-git-tools/sections/credentials.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Git has a few options provided in the box:
1717
* The "`store`" mode saves the credentials to a plain-text file on disk, and they never expire.
1818
This means that until you change your password for the Git host, you won't ever have to type in your credentials again.
1919
The downside of this approach is that your passwords are stored in cleartext in a plain file in your home directory.
20-
* If you're using a Mac, Git comes with an "`osxkeychain`" mode, which caches credentials in the secure keychain that's attached to your system account.
20+
* If you're using macOS, Git comes with an "`osxkeychain`" mode, which caches credentials in the secure keychain that's attached to your system account.
2121
This method stores the credentials on disk, and they never expire, but they're encrypted with the same system that stores HTTPS certificates and Safari auto-fills.
2222
* If you're using Windows, you can enable the *Git Credential Manager* feature when installing https://gitforwindows.org/[Git for Windows] or separately install https://github.com/git-ecosystem/git-credential-manager/releases/latest[the latest GCM] as a standalone service.
2323
This is similar to the "`osxkeychain`" helper described above, but uses the Windows Credential Store to control sensitive information.

0 commit comments

Comments
 (0)