File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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
8484To see the current settings, individually query two configuration values:
8585
8686``` shell
87- $ git config user.name
87+ $ git config --global user.name
8888Firstname Lastname
8989
90- $ git config user.email
90+ $ git config --global user.email
9191someaccount@example.com
9292```
9393
You can’t perform that action at this time.
0 commit comments