Reputation: 2825
I am trying to clone a GitHub repository from within an MSYS 2 shell on Windows. I installed git
using the following command:
pacman -S git
After installing, I tried the following command:
$ git clone https://github.com/google/breakpad.git /src/breakpad
Cloning into '/src/breakpad'...
error: remote-curl: usage: git remote-curl <remote> [<url>]
What does that error message mean, and how can I resolve it?
Upvotes: 1
Views: 2757
Reputation: 1330102
Try the same command using the latest Git for Windows, directly from a simple CMD
or from an msys2-based shell (using bash, which is included in Git for Windows)
I just tested it:
vonc@VONCAVN7 D:\git
> bash
vonc@voncavn7:/mnt/d/git$ git clone https://github.com/google/breakpad.git
Cloning into 'breakpad'...
remote: Counting objects: 17345, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 17345 (delta 0), reused 4 (delta 0), pack-reused 17341
Receiving objects: 100% (17345/17345), 39.39 MiB | 1.38 MiB/s, done.
Resolving deltas: 100% (13586/13586), done.
Then you can go back to your original msys2 shell.
Upvotes: 1