Being given 1.git pull fatal: unable to access ' https://github.com/.../.git': Could not resolve host: github.com
execute the following command
git config --global --unset http.proxy
git config --global --unset https.proxy
Error error when 2.git push: failed to push some refs to 'git @ xxx'
under the server directory .git / do not have permission
to perform chmod -R 777 .git/
3. GitHub download clone designated branch tag code
git clone -b [tag] [https://github.com/xxx.git]
- Solve git pull / push every time to enter the username and password problem
Enter the user name and password after execution
git config --global credential.helper store