Full Stack Developer

git 基本配置

2019-04-24  本文已影响1人  samtake

配置user.name 和 user.email

git config --global user.name 'sam'
git config --global user.email 'email@qqq.com'

config的三个作用域,其中省略等同于local

显示config的配置,加--list

mac公钥

ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub
cp ~/.ssh/id_rsa.pub + 相应路径
上一篇 下一篇

猜你喜欢

热点阅读