Submit git error
On the premise of enabling shadowsocks, manually configure the proxy of git. The git client can enter the following two commands.
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080
http:// can also be changed to sockets5://, but the difference is: socks5 does not support password-free login to github through pubkey, and only the user name and password can be entered for each code submission. http can support password-free login.
Cancel proxy:
git config --global --unset http.proxy
git config --global --unset https.proxy
After modifying, it still didn't work
git push --set-upstream git address main
main is the branch
Then you need to enter a password, which is token
Just after typing