-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
使用:git submodule add [email protected]:MeiK2333/github-style.git themes/github-style
PS C:\Users\wucha\ZY_Hugo\hugo_wq_github> git submodule add [email protected]:MeiK2333/github-style.git themes/github-style
Cloning into 'C:/Users/wucha/ZY_Hugo/hugo_wq_github/themes/github-style'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:MeiK2333/github-style.git' into submodule path 'C:/Users/wucha/ZY_Hugo/hugo_wq_github/themes/github-style' failed
使用:git submodule add https://github.com/MeiK2333/github-style.git themes/github-style
PS C:\Users\wucha\ZY_Hugo\hugo_wq_github> git submodule add https://github.com/MeiK2333/github-style.git themes/github-style
Cloning into 'C:/Users/wucha/ZY_Hugo/hugo_wq_github/themes/github-style'...
remote: Enumerating objects: 1176, done.
remote: Counting objects: 100% (582/582), done.
remote: Compressing objects: 100% (154/154), done.
remote: Total 1176 (delta 480), reused 428 (delta 428), pack-reused 594 (from 2)
Receiving objects: 100% (1176/1176), 2.58 MiB | 5.48 MiB/s, done.
Resolving deltas: 100% (706/706), done.
warning: in the working copy of '.gitmodules', LF will be replaced by CRLF the next time Git touches it
感觉使用后一个命令稳定些,不知道是不是错觉
我提这个就是想作者修改下文档的相关段落
把git submodule add [email protected]:MeiK2333/github-style.git themes/github-style修改为:
git init
git submodule add https://github.com/MeiK2333/github-style.git themes/github-style
florentdrousset
Metadata
Metadata
Assignees
Labels
No labels