config commands not working _Noobe question

2015-06-22 Thread Greg Ledger
after adding git config ‹global user.name Greg Ledger and git config
‹global user.email gled...@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 
gled...@glcdelivers.com
www.glcdelivers.com http://www.glcdelivers.com

--
To unsubscribe from this list: send the line unsubscribe git in


Re: config commands not working _Noobe question

2015-06-22 Thread Christian Couder
On Tue, Jun 23, 2015 at 1:31 AM, Greg Ledger gled...@glcdelivers.com wrote:
 after adding git config ‹global user.name Greg Ledger and git config
 ‹global user.email gled...@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.
--
To unsubscribe from this list: send the line unsubscribe git in