diff --git a/intermediate/index.md b/intermediate/index.md index 26cef69f6..cc3ceb63c 100644 --- a/intermediate/index.md +++ b/intermediate/index.md @@ -40,8 +40,8 @@ Establish important and useful settings for efficient command line use. --- ``` -git config user.name "Your Name" -git config user.email "Email Address" +git config --global user.name "Your Name" +git config --global user.email "Email Address" ``` --- @@ -49,8 +49,8 @@ git config user.email "Email Address" --- ```bash -git config color.ui auto -git config core.autocrlf [input|true] +git config --global color.ui auto +git config --global core.autocrlf [input|true] ``` --- @@ -58,7 +58,7 @@ git config core.autocrlf [input|true] --- ```bash -git config core.editor +git config --global core.editor ``` --- @@ -84,10 +84,10 @@ These are the very first Git elements often suggested to set. If not set, Git wi To see the current settings, individually query two configuration values: ```shell -$ git config user.name +$ git config --global user.name Firstname Lastname -$ git config user.email +$ git config --global user.email someaccount@example.com ```