git Related Questions

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]
  1. 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
Published 41 original articles · won praise 0 · Views 5622

Guess you like

Origin blog.csdn.net/m0_37515193/article/details/104811268