osx - setting up git/github on a mac: error on reading usr/local/etc/gitconfig -


i set git with

git config --global user.name myuser git config --global user.email my@email.com 

when try commit new repo through github mac error:

fatal: unable access '/usr/local/etc/gitconfig': permission denied (128)

i have read documentation on github , followed instractions, didn't anywhere.

could fix it?

git config --global supposed write in $home/gitconfig, global config.

double-check $home when typing command, because if /usr/local/etc/gitconfig more of system config file, more owned root.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -