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: en/book/01-introduction/chapter1.asc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ The mechanism that Git uses for this checksumming is called a SHA-1 hash. This i
92
92
93
93
24b9da6552252987aa493b52f8696cd6d3b00373
94
94
95
-
You will see these hash values all over the place in Git because it uses them so much. In fact, Git stores everything in it's database not by file name but by the hash value of its contents.
95
+
You will see these hash values all over the place in Git because it uses them so much. In fact, Git stores everything in its database not by file name but by the hash value of its contents.
96
96
97
97
==== Git Generally Only Adds Data
98
98
@@ -125,7 +125,7 @@ If a particular version of a file is in the Git directory, it’s considered com
125
125
126
126
=== The Command Line
127
127
128
-
There are a lot of different ways to use Git these days. There are the original command line tools and there are many graphical user interfaces as well of varying capabilities. For this book, we will be using Git on the command line. For one, the command line is the only place you can run *all* Git commands - most of the GUIs only implement some subset of Git functionality for simplicity. If you know how to run the command line version, you can probably also figure out how to run the GUI version, while the opposite is not neccesarily true. Finally, everyone should have the command line tooling, where everyone may choose different GUIs.
128
+
There are a lot of different ways to use Git these days. There are the original command line tools and there are many graphical user interfaces as well of varying capabilities. For this book, we will be using Git on the command line. For one, the command line is the only place you can run *all* Git commands - most of the GUIs only implement some subset of Git functionality for simplicity. If you know how to run the command line version, you can probably also figure out how to run the GUI version, while the opposite is not neccesarily true. Finally, while your choice of graphical client is a matter of personal taste, _all_ users will have the command-line tools installed and available.
129
129
130
130
So, we will expect you to know how to open Terminal in Mac or Command Prompt or Powershell in Windows. If you don't know what we're talking about here, you may need to stop and research that quickly so that you can follow the rest of the examples and descriptions in this book.
131
131
@@ -185,7 +185,7 @@ Git comes with a tool called `git config` that lets you get and set configuratio
185
185
* `~/.gitconfig` file: Specific to your user. You can make Git read and write to this file specifically by passing the `--global` option.
186
186
* `config` file in the Git directory (that is, `.git/config`) of whatever repository you’re currently using: Specific to that single repository. Each level overrides values in the previous level, so values in `.git/config` trump those in `/etc/gitconfig`.
187
187
188
-
On Windows systems, Git looks for the `.gitconfig` file in the `$HOME` directory (`C:\Documents and Settings\$USER` for most people). It also still looks for `/etc/gitconfig`, although it’s relative to the MSys root, which is wherever you decide to install Git on your Windows system when you run the installer.
188
+
On Windows systems, Git looks for the `.gitconfig` file in the `$HOME` directory (`C:\Users\$USER` for most people). It also still looks for `/etc/gitconfig`, although it’s relative to the MSys root, which is wherever you decide to install Git on your Windows system when you run the installer.
0 commit comments