找到git的配置文件.gitconfig文件,在文件中加入以下配置即可 [url "https://"] insteadof = git:// [url "https://"] insteadof = ssh://