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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -