Git Bash
$ git config --global user.name "aaa"
$ git config --global user.email "aaa@163.com"
生成密钥
$ ssh-keygen -t rsa -C "aaa@163.com"
打开公钥pub,添加到远端
建立本地仓库 git init
拉去远端 git clone XXX
Git Bash
$ git config --global user.name "aaa"
$ git config --global user.email "aaa@163.com"
生成密钥
$ ssh-keygen -t rsa -C "aaa@163.com"
打开公钥pub,添加到远端
建立本地仓库 git init
拉去远端 git clone XXX
本文标题:git使用
本文链接:https://www.haomeiwen.com/subject/rcbrfctx.html
网友评论