Skip to content

Commit 441e40d

Browse files
committed
Merge pull request #311 from github/fix-intermediate-setup-flags
all config settings need to start global
2 parents 88f33a2 + bd5c944 commit 441e40d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

intermediate/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,25 @@ Establish important and useful settings for efficient command line use.
4040
---
4141

4242
```
43-
git config user.name "Your Name"
44-
git config user.email "Email Address"
43+
git config --global user.name "Your Name"
44+
git config --global user.email "Email Address"
4545
```
4646

4747
---
4848

4949
---
5050

5151
```bash
52-
git config color.ui auto
53-
git config core.autocrlf [input|true]
52+
git config --global color.ui auto
53+
git config --global core.autocrlf [input|true]
5454
```
5555

5656
---
5757

5858
---
5959

6060
```bash
61-
git config core.editor
61+
git config --global core.editor
6262
```
6363

6464
---
@@ -84,10 +84,10 @@ These are the very first Git elements often suggested to set. If not set, Git wi
8484
To see the current settings, individually query two configuration values:
8585

8686
```shell
87-
$ git config user.name
87+
$ git config --global user.name
8888
Firstname Lastname
8989

90-
$ git config user.email
90+
$ git config --global user.email
9191
someaccount@example.com
9292
```
9393

0 commit comments

Comments
 (0)