解决办法 找到项目目录中的隐藏文件夹“.git”找到“.git”目录下的config并编辑其中url修改为如下模式,保存即可 https://username:password@git.net/username/test.git