bash - git clone fatal: cannot create work tree dir permission denied -


so i'm trying clone repository git, folder know have write access in.

i'm trying clone using intellij's built in vcs capabilities, , git bash program git-scm.com both of them return following error:

fatal: not create work tree dir '<repo name>' :  permission denied 

what doing wrong?

the error pretty simple. don't have permissions on given directory.

you can several things simple 1 try , clone repository vi git bash

# go other directory have permissions write cd <some path>  # check see if have permissions: mkdir dummy  # once have verified have write permissions - # clone project command line git clone <url> 

once have cloned project - open in intellij's.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -