Git常用指令

初始配置

1
2
3
4
git config --global user.name "username"
git config --global user.email "email"

--global参数可以保证机器上所有的git仓库使用这个配置

然后输入