报错内容:fatal: unable to access 'https://github.com/wurui114/smart-supervision.git/': Failed to connect to github.com port 443 after 21510 ms: Couldn't connect to server
原因:当我们使用git clone下载github仓库代码报错,这是由于我们没有指定用户名和密码导致的问题,在此情况下,我们可以修改https下载链接为
格式:https://username:passwords@github.com/.....
(新增的部分)
username:就是github登录的用户名
passwords:就是登录的密码
接下来,使用git clone 后面加上我们修改过后的url链接即可。