码迷,mamicode.com
首页 > 其他好文 > 详细

新电脑配置 git 同步github账户

时间:2016-06-04 22:15:18      阅读:392      评论:0      收藏:0      [点我收藏+]

标签:

1、下载安装git
2、初始化 仓库文件夹  git  init
3、生成公钥    ssh-keygen -t rsa -C "youremail@example.com"  
4、github 添加公钥
5、关联远程仓库
git remote add origin git@github.com:taoqun/mypage.git
6、 git pull 同步 yes
7、

  

新电脑配置 git 同步github账户

标签:

原文地址:http://www.cnblogs.com/taoquns/p/5559526.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!