换了一个环境重新拉取项目的时候 发生了错误
git pull
You do not have permission to pull the repository 错误
之后通过查找归类后,发现只要在 .git 文件下的config 文件中 在url请求地址添加用户名 密码
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://**yourname:password**/XXXXXXX.git
fetch = +refs/heads/*:refs/remotes/origin/*
其中 yourname 为用户名, password 为密码, XXXXXX 是你https后的”的项目地址
之后再进行git pull 能获取到项目了
但是还是有点问题 就是地址没有和仓库地址关联
根据提示关联仓库 是你的项目分支 和 master 进行合并
后面直接pull 没有问题了