摘要: 一、git常用命令 重点:提交本地分支到远程分支 $ git push origin test:master // 提交本地test分支作为远程的master分支 //好像只写这一句,远程的github就会自动创建一个test分支$ git push origin test:test // 提交本地 阅读全文
posted @ 2018-02-28 18:49 李清欣 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 此时只是在本地创建好了分支,修改源代码后add,commit将本地分支提交到远程仓库 分支已创建,其它成员此时就可以从git拉分支 此时只是在本地创建好了分支,修改源代码后add,commit将本地分支提交到远程仓库 分支已创建,其它成员此时就可以从git拉分支 分支已创建,其它成员此时就可以从gi 阅读全文
posted @ 2018-02-28 18:44 李清欣 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 在github上新建了一个仓库,然后相与本地的仓库联系起来 $ git remote add origin https://github.com/liona329/learngit.git fatal: Not a git repository (or any of the parent direc 阅读全文
posted @ 2018-02-28 17:18 李清欣 阅读(3399) 评论(0) 推荐(0) 编辑