美文网首页
码云+git

码云+git

作者: ABY_sea | 来源:发表于2018-11-14 09:55 被阅读0次

1 注册码云 https://gitee.com

2 下载git 廖雪峰  https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/00137396287703354d8c6c01c904c7d9ff056ae23da865a000

3 检查git是否成功 git --version

4 获取公钥 对电脑授权 https://gitee.com/help/articles/4181

ssh-keygen -t rsa -C "xxxxx@xxxxx.com" 按照提示完成三次回车,即可生成 ssh key

cat ~/.ssh/id_rsa.pub 查看公钥

5   $ git config --global  user.name "Yo "Your Name"

$ git config --global user.email "email@example.com" 登录

6 git clone ne git@gitee.com:****  下载项目

相关文章

网友评论

      本文标题:码云+git

      本文链接:https://www.haomeiwen.com/subject/measkxtx.html