I can't create directory in git...with mkdir, it tell me permission denied. I change admin rights but it changes nothing. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

I can't create directory in git...with mkdir, it tell me permission denied. I change admin rights but it changes nothing.

Can someone help me im on win7

14th Jan 2021, 9:16 AM
JurgenV
JurgenV - avatar
2 Antworten
+ 1
Git doesn't store empty folders. Just make sure there's a file in the folder like doc/foo.txt and run git add doc or git add doc/foo.txt, and the folder will be added to your local repository once you've committed (and appear on GitHub once you've pushed it). https://stackoverflow.com/questions/12258399/how-do-i-create-a-folder-in-a-github-repository
14th Jan 2021, 9:53 AM
navid
0
Thanks a lot!
14th Jan 2021, 11:29 AM
JurgenV
JurgenV - avatar