git 版本 2.30.1
git clone https://github.com/google/leveldb.git
报错是
Cloning into 'leveldb'...
git: 'remote-https' is not a git command. See 'git --help'.
改成 ssh,这样可以,但是加上 submodule 就又报错了
git clone [email protected]:google/leveldb.git
git clone --recurse-submodules [email protected]:google/leveldb.git
报错是
Submodule 'third_party/benchmark' ( https://github.com/google/benchmark) registered for path 'third_party/benchmark'
Submodule 'third_party/googletest' ( https://github.com/google/googletest.git) registered for path 'third_party/googletest'
Cloning into '/home/keane/CLionProjects/leveldb/third_party/benchmark'...
git: 'remote-https' is not a git command. See 'git --help'.
fatal: clone of 'https://github.com/google/benchmark' into submodule path '/home/keane/CLionProjects/leveldb/third_party/benchmark' failed
Failed to clone 'third_party/benchmark'. Retry scheduled
Cloning into '/home/keane/CLionProjects/leveldb/third_party/googletest'...
git: 'remote-https' is not a git command. See 'git --help'.
fatal: clone of 'https://github.com/google/googletest.git' into submodule path '/home/keane/CLionProjects/leveldb/third_party/googletest' failed
Failed to clone 'third_party/googletest'. Retry scheduled
Cloning into '/home/keane/CLionProjects/leveldb/third_party/benchmark'...
git: 'remote-https' is not a git command. See 'git --help'.
fatal: clone of 'https://github.com/google/benchmark' into submodule path '/home/keane/CLionProjects/leveldb/third_party/benchmark' failed
Failed to clone 'third_party/benchmark' a second time, aborting