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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -