You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/02-git-basics/sections/recording-changes.asc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,7 +204,7 @@ $ cat .gitignore
204
204
----
205
205
206
206
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.
208
208
You may also include a log, tmp, or pid directory; automatically generated documentation; and so on.
209
209
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.
210
210
@@ -539,7 +539,7 @@ Or, you can do something like this:
539
539
$ git rm \*~
540
540
----
541
541
542
-
This command removes all files that end with `~`.
542
+
This command removes all files whose names end with a `~`.
0 commit comments