1 Execute push command
fatal: unable to access ‘https://github.com/AAAAboy/huashan.git/’: Failed to connect to github.com port 443: Timed out
Solution:
execute in git bash: git config --global --unset http.proxy
2 How to log out of the github account that was previously logged in to git
Execute in git bash: git credential-manager uninstall
git credential-manager install
3 Save account passwords in a warehouse
It only needs to be executed in git bash in the warehouse:
git config credential.helper store
The account password entered after the store will be saved
If you want to save globally, execute:
git config --global credential.helper store
Delete the username and password cached in
git git credential-manager uninstall
Credential management saved in the system
git config [–global] credential.helper manager
The password is saved in: C:\Users\Jay.git-credentials