I would like to use git without taping sudo everytime i tape a command on CentOS
and i have no idea how to do it. I checked on google and i found this some command with chown but none of them worked
Edited : I don't want to use sudo, i want to use git without taping sudo everytime. For instance, every time i tape git checkout i have an error of permission and i need to tape sudo git checkout and password to do this
sudo
withgit
in the first place?