From 131add9c36debd8e12e17ec1dfacd46402090699 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sat, 24 Nov 2018 11:23:56 -0500 Subject: [PATCH] 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 --- book/01-introduction/sections/basics.asc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/book/01-introduction/sections/basics.asc b/book/01-introduction/sections/basics.asc index cd08d19bd..3207f0090 100644 --- a/book/01-introduction/sections/basics.asc +++ b/book/01-introduction/sections/basics.asc @@ -42,12 +42,12 @@ This also means that there is very little you can't do if you're offline or off 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. If you go home and can't get your VPN client working properly, you can still work. In many other systems, doing so is either impossible or painful. -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). +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). This may not seem like a huge deal, but you may be surprised what a big difference it can make. ==== Git Has Integrity -Everything in Git is check-summed before it is stored and is then referred to by that checksum. +Everything in Git is checksummed before it is stored and is then referred to by that checksum. This means it's impossible to change the contents of any file or directory without Git knowing about it. This functionality is built into Git at the lowest levels and is integral to its philosophy. 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: 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. 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. -If a particular version of a file is in the Git directory, it's considered committed. -If it has been modified and was added to the staging area, it is staged. -And if it was changed since it was checked out but has not been staged, it is modified. +If a particular version of a file is in the Git directory, it's considered _committed_. +If it has been modified and was added to the staging area, it is _staged_. +And if it was changed since it was checked out but has not been staged, it is _modified_. In <>, you'll learn more about these states and how you can either take advantage of them or skip the staged part entirely.