Skip to content

all config settings need to start global #311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 17, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions intermediate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,25 @@ 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"
```

---

---

```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]
```

---

---

```bash
git config core.editor
git config --global core.editor
```

---
Expand All @@ -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
[email protected]
```

Expand Down