Skip to content

Commit 6f4d813

Browse files
committed
Merge pull request #546 from KennethKinLum/fixed-to-be-more-precise
fixed to be more precise
2 parents 948c189 + 2e89435 commit 6f4d813

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ $ cat .gitignore
204204
----
205205

206206
The first line tells Git to ignore any files ending in ``.o'' or ``.a'' – object and archive files that may be the product of building your code.
207-
The second line tells Git to ignore all files that end with a tilde (`~`), which is used by many text editors such as Emacs to mark temporary files.
207+
The second line tells Git to ignore all files whose names end with a tilde (`~`), which is used by many text editors such as Emacs to mark temporary files.
208208
You may also include a log, tmp, or pid directory; automatically generated documentation; and so on.
209209
Setting up a `.gitignore` file before you get going is generally a good idea so you don't accidentally commit files that you really don't want in your Git repository.
210210

@@ -539,7 +539,7 @@ Or, you can do something like this:
539539
$ git rm \*~
540540
----
541541

542-
This command removes all files that end with `~`.
542+
This command removes all files whose names end with a `~`.
543543

544544
[[_git_mv]]
545545
==== Moving Files

book/08-customizing-git/sections/config.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ You can put patterns in your project's `.gitignore` file to have Git not see the
145145

146146
But sometimes you want to ignore certain files for all repositories that you work with.
147147
If your computer is running Mac OS X, you're probably familiar with `.DS_Store` files.
148-
If your preferred editor is Emacs or Vim, you know about files that end with a `~` or `.swp`.
148+
If your preferred editor is Emacs or Vim, you know about filenames that end with a `~` or `.swp`.
149149

150150
This setting lets you write a kind of global `.gitignore` file.
151151
If you create a `~/.gitignore_global` file with these contents:

0 commit comments

Comments
 (0)