IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.03k stars 979 forks source link

Not able to clone marbles #268

Closed shchaudh closed 5 years ago

shchaudh commented 5 years ago

When I try to clone marbles using command : git clone https://github.com/IBM-Blockchain/marbles.git --depth 1

I get below error:

C:\Program Files\Git>git clone https://github.com/IBM-Blockchain/marbles.git --depth 1 Cloning into 'marbles'... C:/Program Files/Git/marbles/.git: Permission denied

I also tried creating marbles folder and run the command from there still no success.

C:\Program Files\Git\marbles>git clone https://github.com/IBM-Blockchain/marbles.git --depth 1 fatal: could not create work tree dir 'marbles': Permission denied

Tried running from gitbash:

AzureAD+SHARDENDUCHAUDHARY@DESKTOP-VFFDGML MINGW64 / $ git clone https://github.com/IBM-Blockchain/marbles.git --depth 1 C:/Program Files/Git/marbles/.git: Permission deniedCloning into 'marbles'... C:/Program Files/Git/marbles/.git: Permission denied

AzureAD+SHARDENDUCHAUDHARY@DESKTOP-VFFDGML MINGW64 / $ Cloning into 'marbles'... bash: Cloning: command not found

AzureAD+SHARDENDUCHAUDHARY@DESKTOP-VFFDGML MINGW64 / $ C:/Program Files/Git/marbles/.git: Permission denied bash: C:/Program: No such file or directory

dshuffma-ibm commented 5 years ago

strange, i'm unsure if its github that is blocking you, or if its just your file system. is your windows user an admin?

do you have trouble cloning other repositories?

you may want to try cloning in a different path outside of "program files". something like C:\marbles. or in your my documents folder C:\Users\your-username-here\Documents.

finally it may be worth trying an elevated command prompt. image

shchaudh commented 5 years ago

Thanks a lot, running Git Bash from C:\Users\your-username-here\Documents , I was able to clone.

Regards, Sharad

Shardendu K Chaudhary Advisory Project Manager, Cell# +91 9960096532 Email-ID : shchaudh@in.ibm.com

From: dshuffma-ibm notifications@github.com To: IBM-Blockchain/marbles marbles@noreply.github.com Cc: shchaudh shchaudh@in.ibm.com, Author author@noreply.github.com Date: 24-10-2018 19:29 Subject: Re: [IBM-Blockchain/marbles] Not able to clone marbles (#268)

strange, i'm unsure if its github that is blocking you, or if its just your file system. is your windows user an admin?

do you have trouble cloning other repositories?

you may want to try cloning in a different path outside of "program files". something like C:\marbles. or in your my documents folder C:\Users \your-username-here\Documents.

finally it may be worth trying an elevated command prompt.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.