# config commands not working _Noobe question

2 messages from 2015-06-22 to 2015-06-23. Participants: Greg Ledger, Christian Couder.
Thread: https://gitlist.dev/t/39698

## Greg Ledger, 2015-06-22 23:31

Subject: config commands not working _Noobe question
Message-ID: <D1AE04E1.1172A%gledger@glcdelivers.com>
URL: https://gitlist.dev/e/D1AE04E1.1172A%25gledger%40glcdelivers.com

```
after adding git config ‹global user.name Greg Ledger and git config
‹global user.email gledger@glcdelivers.com, when I run:
source ~/.gitconfig I get

-bash: [user]: command not found
-bash: name: command not found
-bash: email: command not found
-bash: [color]: command not found
-bash: ui: command not found

What gives? (I had to download xcode tools before I could do my first git
init

Greg Ledger 
Web Developer & E-Marketing Specialist | GLC
847.205.3125 
gledger@glcdelivers.com
www.glcdelivers.com <http://www.glcdelivers.com>

```

## Christian Couder, 2015-06-23 03:05

Subject: Re: config commands not working _Noobe question
Message-ID: <CAP8UFD30DciVRWXm74LDV4wRuVcDXZ59t_-vFy6pNVZVXbiAjQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAP8UFD30DciVRWXm74LDV4wRuVcDXZ59t_-vFy6pNVZVXbiAjQ%40mail.gmail.com
In-Reply-To: <D1AE04E1.1172A%gledger@glcdelivers.com>

```
On Tue, Jun 23, 2015 at 1:31 AM, Greg Ledger <gledger@glcdelivers.com> wrote:
> after adding git config ‹global user.name Greg Ledger and git config
> ‹global user.email gledger@glcdelivers.com, when I run:
> source ~/.gitconfig

The ~/.gitconfig file is not a shell script. You should not source it.
It is a text file that is read by Git commands when those commands are run.

```
