mac使用git pull 报错:repo的账号错误时,可能是mac自带了一个账号记忆的功能,
所以在我们配置.git/config文件[remote "origin"]的 url 时,不能直接把coding.net的地址复制进来
那就需要我们修改一下
上代码:
[remote "origin"]
url = https://admin:password@git.coding.net/wutingyu/Childr.git
fetch = +refs/heads/*:refs/remotes/origin/*
admin :自己的coding账号
password:密码
这里需要把自己的coding.net的账号和密码加上就不会报 repo的账号错误啦