github ssh 设置
来源:互联网 发布:创业数据库 编辑:程序博客网 时间:2024/06/06 09:58
Step 1: Check for SSH keys
$ git config --global user.name "abcd"$ git config --global user.email abcd@efgh.com
First, we need to check for existing SSH keys on your computer. Open up your Terminal and type:
ls -al ~/.ssh
Step 2: Generate a new SSH key
$ ssh-keygen -t rsa -C "your_email@example.com"
$ eval "$(ssh-agent -s)"$ ssh-add ~/.ssh/id_rsa$ sudo apt-get install xclip
$ xclip -sel clip < ~/.ssh/id_rsa.pub
把id_rsa.pub 里的key 复制到github,的key field里。Step 3: Test everything out
$ ssh -T git@github.com
出现sucessfully 表示成功。Step 4: Use
$ git init $ touch README $ git add README $ git commit -m 'first commit' $ git remote add origin git@github.com:abcd/tmp.git $ git push -u origin master
0 0
- github设置ssh
- github设置添加SSH
- github设置添加SSH
- github ssh 设置
- github设置添加SSH
- github 设置SSH
- github设置添加SSH
- github设置添加SSH
- github设置添加ssh
- github设置添加SSH
- github 设置SSH KEY
- github设置SSH
- github设置添加SSH
- github设置添加SSH
- github设置添加SSH
- github设置添加SSH
- github设置添加SSH
- github设置添加SSH
- C++ hash_map
- ArcGIS Engine中删除要素的几种方法总结
- andorid开源快速开发框架之AndroidAnnoatitions
- Linux输入子系统:事件的编码 -- event-codes.txt
- dojo小例子(25)在循环结束后再执行后续语句
- github ssh 设置
- python 编码规范及习惯写法范例
- <Android developer> Creating a Fragment
- 关于cocos2dx分数的存储
- windows下编译ffmpeg
- 通讯录调用微信客户端查看好友朋友圈与聊天
- 二分查找
- HDU4965Fast Matrix Calculation(2014多校第九场)
- Linux输入子系统:输入设备编程指南 -- input-programming.txt .