报错信息:fatal: not a git repository (or any of the parent directories): .git
原因:没有选择git存储库,进行git提交等命令
注意:在克隆完后,要通过cd命令选择本地仓库地址,否则无法使用git进行提交等操作
设置本地代理
设置git代理
git config --global http.proxy http://代理IP地址:端口号
git config --global https.proxy https://代理IP地址:端口号
查看git代理是否成功
git config http.proxy
git config https.proxy
删除git代理
git config --global --unset http.proxy
git config --global --unset https.proxy