摘要: 1. 创建分支; git branch name 2. 查看分支; git branch 3. 切换分支; git checkout name 4.创建并切换分支; git checkout -b name 5.合并分支; git merge name 6.删除分支; git branch -d n 阅读全文
posted @ 2017-12-23 12:05 web男 阅读(186) 评论(0) 推荐(0)
摘要: 1.创建 ssh key; $ssh-keygen -t rsa -C "youremail@example.com" youremail@example.com为设置的邮箱 不用设置密码 一直回车; id-rsa 是私钥;id-rsa.pub 是公钥; 2. 登录GitHub; 打开Account 阅读全文
posted @ 2017-12-23 00:09 web男 阅读(867) 评论(0) 推荐(0)