ubuntu git配置
头像->Settings->SSH and GPG keys->New SSH key。git config --global user.email “git 邮件”git config --global user.name “git用户名”ssh-keygen -t ecdsa -b 521 -C “git 邮件”git clone git@github.com:项目。拷贝内容到github设置
·
git config --global user.name “git用户名”
git config --global user.email “git 邮件”
查看git配置
git config --global --list
设置密钥
ssh-keygen -t ecdsa -b 521 -C “git 邮件”
一直点回车
cd .ssh/
cat id_ecdsa.pub
拷贝内容到github设置密钥
头像->Settings->SSH and GPG keys->New SSH key
拉取方法
git clone git@github.com:项目
更多推荐
已为社区贡献1条内容
所有评论(0)