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/01-introduction/sections/about-version-control.asc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ RCS works by keeping patch sets (that is, the differences between files) in a sp
30
30
(((version control,centralized)))
31
31
The next major issue that people encounter is that they need to collaborate with developers on other systems.
32
32
To deal with this problem, Centralized Version Control Systems (CVCSs) were developed.
33
-
These systems, such as CVS, Subversion, and Perforce, have a single server that contains all the versioned files, and a number of clients that check out files from that central place. (((CVS)))(((Subversion)))(((Perforce)))
33
+
These systems (such as CVS, Subversion, and Perforce) have a single server that contains all the versioned files, and a number of clients that check out files from that central place. (((CVS)))(((Subversion)))(((Perforce)))
34
34
For many years, this has been the standard for version control.
Copy file name to clipboardExpand all lines: book/01-introduction/sections/command-line.asc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
There are a lot of different ways to use Git.
4
4
There are the original command-line tools, and there are many graphical user interfaces of varying capabilities.
5
5
For this book, we will be using Git on the command line.
6
-
For one, the command line is the only place you can run _all_ Git commands – most of the GUIs implement only a partial subset of Git functionality for simplicity.
6
+
For one, the command line is the only place you can run _all_ Git commands -- most of the GUIs implement only a partial subset of Git functionality for simplicity.
7
7
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 necessarily true.
8
8
Also, while your choice of graphical client is a matter of personal taste, _all_ users will have the command-line tools installed and available.
Copy file name to clipboardExpand all lines: book/01-introduction/sections/first-time-setup.asc
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,10 @@ These variables can be stored in three different places:
12
12
If you pass the option `--system` to `git config`, it reads and writes from this file specifically.
13
13
(Because this is a system configuration file, you would need administrative or superuser privilege to make changes to it.)
14
14
2. `~/.gitconfig` or `~/.config/git/config` file: Values specific personally to you, the user.
15
-
You can make Git read and write to this file specifically by passing the `--global` option.
15
+
You can make Git read and write to this file specifically by passing the `--global` option, and this affects _all_ of the repositories you work with on your system.
16
16
3. `config` file in the Git directory (that is, `.git/config`) of whatever repository you're currently using: Specific to that single repository.
17
+
You can force Git to read from and write to this file with the `--local` option, but that is in fact the default.
18
+
(Unsurprisingly, you need to be located somewhere in a Git repository for this option to work properly.)
17
19
18
20
Each level overrides values in the previous level, so values in `.git/config` trump those in `/etc/gitconfig`.
0 commit comments