分类目录归档:Uncategorized

Github 远程访问汇总

常见问题

Q1: git push --set-upstream origin master
resp: remote: Support for password authentication was removed on August 13, 2021.
ANS: 这是因为Github开始不支持账号密码认证模式。解决方案,登录Github->Settings->Develop Settings->Personal access tokens->Password==Token

Q2: github走代理
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy #取消代理
git config --global --unset https.proxy #取消代理