I am using SourceTree to work with one of the repositories I created online at source tree. When I go to clone repository on my Mac and select the repositories from the hosted account, it gives me the following error:
This is not a valid source path / URL
on checking the details, it says:
fatal: unable to access '/usr/local/git/etc/gitconfig': Permission denied
Any idea what might be the issue?
I checked that, it shows permission denied on /usr/local/git
I don't think you understood my question. In the terminal, go to /usr/local/git/etc/, and run "ls -l". Your user account will probably need to be the owner of the gitconfig file, or possibly a member of the group (depending on the premission bits of the file). Do you know the name of your user account or what groups it is a member of?
I suspect this isn't a sourcetree problem, and would be better listed as a question on StackOverflow. If you post there, be prepared to try some things in the terminal to diagnose the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounds like an ownership/permission problem on your local git install. Check the ownership and permissions on the listed file, and post here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.