
Git
HQ麟
欢迎技术交流
github:https://github.com/HQlin
展开
-
Git之使用(针对本地)
1.Git的官方网站:http://git-scm.com2.下载git for windows:https://git-for-windows.github.io/3.设置用户名和邮箱 git config –global user.name “username” git config –global user.email “xxx@qq.com”4.创建版本库 mkdir learngit原创 2017-02-08 18:56:05 · 316 阅读 · 0 评论 -
Git之使用(针对局域网)
续:Git之使用(针对本地)16.连接GitHub 创建SSH Key:ssh-keygen -t rsa -C “youremail@example.com”(默认回车无需密码,在用户主目录生成.ssh文件夹) 登陆GitHub,打开“Account settings”,添加new SSH key(/.ssh/id_rsa.pub内容添加到key) 从远程库克隆,如:git clone ht原创 2017-02-09 18:51:10 · 5608 阅读 · 0 评论