Git六行配置
- 配置
git config --global user.name 你的英文名
git config --global user.email 你的邮箱
git config --global push.default simple
git config --global core.quotepath false
git config --global core.editor "code --wait"
git config --global core.autocrlf input
- 查看是否配置成功
git config --global --list
命令
初始化git仓库
git init