Skip to content

Commit 131add9

Browse files
committed
chapter 1: minor grammatical/font changes for consistency
Among other things: - remove unnecessary hyphenation - font changes for emphasis Signed-off-by: Robert P. J. Day <[email protected]>
1 parent 3f41625 commit 131add9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

book/01-introduction/sections/basics.asc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ This also means that there is very little you can't do if you're offline or off
4242
If you get on an airplane or a train and want to do a little work, you can commit happily (to your _local_ copy, remember?) until you get to a network connection to upload.
4343
If you go home and can't get your VPN client working properly, you can still work.
4444
In many other systems, doing so is either impossible or painful.
45-
In Perforce, for example, you can't do much when you aren't connected to the server; and in Subversion and CVS, you can edit files, but you can't commit changes to your database (because your database is offline).
45+
In Perforce, for example, you can't do much when you aren't connected to the server; in Subversion and CVS, you can edit files, but you can't commit changes to your database (because your database is offline).
4646
This may not seem like a huge deal, but you may be surprised what a big difference it can make.
4747

4848
==== Git Has Integrity
4949

50-
Everything in Git is check-summed before it is stored and is then referred to by that checksum.
50+
Everything in Git is checksummed before it is stored and is then referred to by that checksum.
5151
This means it's impossible to change the contents of any file or directory without Git knowing about it.
5252
This functionality is built into Git at the lowest levels and is integral to its philosophy.
5353
You can't lose information in transit or get file corruption without Git being able to detect it.
@@ -102,7 +102,7 @@ The basic Git workflow goes something like this:
102102
2. You selectively stage just those changes you want to be part of your next commit, which adds _only_ those changes to the staging area.
103103
3. You do a commit, which takes the files as they are in the staging area and stores that snapshot permanently to your Git directory.
104104

105-
If a particular version of a file is in the Git directory, it's considered committed.
106-
If it has been modified and was added to the staging area, it is staged.
107-
And if it was changed since it was checked out but has not been staged, it is modified.
105+
If a particular version of a file is in the Git directory, it's considered _committed_.
106+
If it has been modified and was added to the staging area, it is _staged_.
107+
And if it was changed since it was checked out but has not been staged, it is _modified_.
108108
In <<ch02-git-basics-chapter#ch02-git-basics-chapter>>, you'll learn more about these states and how you can either take advantage of them or skip the staged part entirely.

0 commit comments

Comments
 (0)