.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/*
由上述可见,密码尽量不要使用特殊含义的字符。