1.git解决中文乱码问题
git config --global core.quotepath false
2.ubuntu安装最新版本git
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
3.git拉取代码需要输入账户密码
git config --global credential.helper store
4.git设置和取消代理
# 设置全局代理
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
# 取消代理
git config --global --unset http.proxy git config --global --unset https.proxy