每次 push 时都让输入用户名和密码是因为 https 传输时,GitHub 并不会记住用户名和密码,报错信息类似于下面这样:
E:\personal-projects\notes> git push
发送请求时出错。
fatal: HttpRequestException encountered.
发送请求时出错。
Username for 'https://github.com': xxx
Password for 'https://[email protected]... 阅读全文