本文共 280 字,大约阅读时间需要 1 分钟。
.git目录下,有一个config文件,编辑:
[remote "origin"] url = https://github.com/DoubangoTelecom/doubango fetch = +refs/heads/*:refs/remotes/origin/*
改为
[remote "origin"] url = https://用户名:密码@github.com/DoubangoTelecom/doubango fetch = +refs/heads/*:refs/remotes/origin/*
由上述可见,密码尽量不要使用特殊含义的字符。
转载地址:http://hqkaf.baihongyu.com/