git clone 遇到问题:
[root@localhost opt]# git clone --depth=1 https://github.com/jumpserver/setuptools.git
①Cloning into ‘setuptools’…
fatal: unable to access ‘https://github.com/jumpserver/setuptools.git/’: Encountered end of file
②Cloning into ‘setuptools’…
fatal: unable to access ‘https://github.com/jumpserver/setuptools.git/’: TCP connection reset by peer
解决办法:将命令行里的http改为git重新执行
[root@localhost opt]# git clone --depth=1 git://github.com/jumpserver/setuptools.git
Cloning into 'setuptools'...
remote: Enumerating objects: