Git初始化基本操作

查看自己用户名和邮箱地址:

$ git config user.name
$ git config user.email

修改自己用户名和邮箱地址:

git config --global user.name xxx
git config --global user.email [email protected]

生成ssh秘钥:

ssh-keygen -t rsa -C "[email protected]"

参考:

【1】https://www.cnblogs.com/wyhlightstar/p/6283517.html

【2】https://blog.csdn.net/xb12369/article/details/78682018

猜你喜欢

转载自www.cnblogs.com/happyflyingpig/p/12097200.html