GIthub添加远程仓库
2017-12-20 00:00
211 查看
一、添加Key
登录Github网站
进入Setting --> SSH and GPG keys页面
点击new SSH key按钮添加key
打开电脑上的.ssh文件夹
把id_rsa.pub中的内容粘贴到网页文本框
点击保存
二、添加用户
三、克隆项目
# 创建RSA公钥私钥 ssh-keygen -t rsa -C "youremail@example.com"
登录Github网站
进入Setting --> SSH and GPG keys页面
点击new SSH key按钮添加key
打开电脑上的.ssh文件夹
把id_rsa.pub中的内容粘贴到网页文本框
点击保存
二、添加用户
# 你的名字 git config --global user.name "Your Name" # 你的邮箱 git config --global user.email "email@example.com"
三、克隆项目
git clone git@github.com:xxx.git
相关文章推荐
- Git基础篇之远程仓库的基本操作以及如何给github的ReadMe文件添加图片
- Git —— 建立GitHub仓库并添加远程库
- Ubuntu 添加github远程仓库
- GitHub使用--Windows 7 将一个现有项目添加到新建远程仓库
- 今天使用git 添加远程github仓库的时候提示错误:fatal: remote origin already exists.
- GitHub基础学习-在eclipse中生成“public key”(公钥)并添加到GitHub远程仓库中
- eclipse添加egit插件并链接github远程仓库记录
- 【Github】Windows下添加到远程仓库
- 【Github学习笔记】安装git,创建库,添加远程仓库,添加删除文件
- 添加远程仓库Github
- Git的使用(本地仓库的设置,文件添加,关联github远程仓库)
- GitHub添加远程仓库
- github添加远程仓库报错:fatal: remote origin already exists.
- 使用命令创建github代码仓库,push本地仓库到github远程代码仓库
- Ubuntu下本地仓库项目上传至github远程仓库
- 修改github远程仓库名称
- git快速入门(五)远程仓库以及如何使用github
- Git@OSC实现从本地添加项目到远程仓库
- 【github课程】创建github仓库和库创建一个版本号,并添加到存储库文件的版本号
- 向nexus远程仓库里面添加JAR