Git的使用---3.git的配置

Git是分布式版本控制系统,所以,每个机器都必须自报家门:你的名字和Email地址

git config --global user.name "Your Name"
git config --global user.email "[email protected]

git config命令的--global参数,用了这个参数,表示配置全局生效,也就是说你这台机器上所有的Git仓库都会使用这个配置。Git也可以对某个仓库指定不同的用户名和Email地址。

猜你喜欢

转载自www.cnblogs.com/forget0909-Angle-Qi/p/9561292.html
今日推荐