安装git

https://git-scm.com/downloads

创建SSH Key

ssh-keygen -t rsa -C "youremail@example.com"

在用户目录里面找到.ssh,里面有id_rsa和id_rsa.pub两个文件,这2个文件就是SHH Key的密钥对

gitee中配置SSH Key

 .gitignore

.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

 

posted on 2020-06-01 03:35  苏荷酒吧  阅读(106)  评论(0编辑  收藏  举报