Git常用指令
#设置代理
git config --global http.proxy http://192.168.101.180:7890
#查看git配置
git config --list
#编辑git配置 按i键开始插入 ESC键 :wq推出
git config --global --edit
#拉取代码
git pull https://github.com/xxx/xxxx
#git 状态查看
git status
#添加所有文件
git add .
#提交代码
git commit -m "first commit"
#推送到远程仓库master
git push -u origin master
#设置文件长度Filename too long unable to index file
git config --system core.longpaths true