1. Technical documentation
1.1 Git 配置
git config --global user.name "名称"
git config --global user.email "邮箱"
git config --global http.sslVerify false
git clone XXX
2. 问题汇总:
2.1 Permission Issue
fatal: could not create work tree dir 'sl-express': Permission denied
修复方法:
sudo git clone XXX
2.2 443 Issue
D:\Workspace\Workspace-MS>git clone https://github.com/1291934482/sl-express.git
Cloning into 'sl-express'...
fatal: unable to access 'https://github.com/1291934482/sl-express.git/': Failed to connect to github.com port 443: Timed out
修复方法:
D:\Workspace\Workspace-MS>git config --global http.sslVerify false
D:\Workspace\Workspace-MS>git clone https://github.com/1291934482/sl-express.git
Cloning into 'sl-express'...
remote: Enumerating objects: 9444, done.
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 9444 (delta 9), reused 48 (delta 4), pack-reused 9382
Receiving objects: 100% (9444/9444), 261.08 MiB | 9.22 MiB/s, done.
Resolving deltas: 100% (2138/2138), done.
Checking out files: 100% (8277/8277), done.