aabdelghani
aabdelghani

Reputation: 31

Trying to clone a git repo it stuck at cloning into

I am using Windows 10 Ver 10.0.19042 Build 19042 , GIT Ver 2.32 when trying to execute the following command using git bash git clone --depth=1 -b carla https://github.com/CarlaUnreal/UnrealEngine.git . to clone the carla project it stucks displaying the message cloning into '.' forever.

sometimes it yields output Error: error writing "stdout": broken pipe I Have tried the following solutions

Also, note that I have copied other repos from git using the command git clone <git_repo> and it works fine

I want to clone the repo with no issues any help ?

Upvotes: 3

Views: 5698

Answers (1)

VonC
VonC

Reputation: 1325137

I just tested the same command (Git 2.32 on Windows 10 as well)

The --depth=1 syntax does work well, both in CMD and git bash.

If you want to test with SSH, you will have to do:

git clone --depth=1 -b carla [email protected]/CarlaUnreal/UnrealEngine.git .

(assuming you have a public key registered to your profile, considering this is a private repository)

Upvotes: 1

Related Questions