Skip to content

Commit 4367b2f

Browse files
authored
Merge pull request #859 from rpjday/firsttime
Emphasize changing /etc/gitconfig requires admin/superuser privilege.
2 parents e91bc7e + 26cedca commit 4367b2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

book/01-introduction/sections/first-time-setup.asc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ These variables can be stored in three different places:
1010

1111
1. `/etc/gitconfig` file: Contains values applied to every user on the system and all their repositories.
1212
If you pass the option `--system` to `git config`, it reads and writes from this file specifically.
13+
(Because this is a system configuration file, you would need administrative or superuser privilege to make changes to it.)
1314
2. `~/.gitconfig` or `~/.config/git/config` file: Values specific personally to you, the user.
1415
You can make Git read and write to this file specifically by passing the `--global` option.
1516
3. `config` file in the Git directory (that is, `.git/config`) of whatever repository you're currently using: Specific to that single repository.

0 commit comments

Comments
 (0)