2018年12月2日

github本地分支合并到线上主分支

摘要: 如果是在本地index-swiper分支上,已经写好了那么: 1,git add . //提交到本地缓冲区 2,git commit -m "project init" //把本地缓冲区提交到本地仓库 3,git push //把分支推送至到github 如果是第一次提交: git push --s 阅读全文

posted @ 2018-12-02 21:29 _jackie 阅读(1114) 评论(0) 推荐(0) 编辑

github创建分支

摘要: 创建和删除分支: 在本地新建一个分支: git branch newBranch 切换到你的新分支: git checkout newBranch 将新分支发布在github上: git push origin newBranch 在本地删除一个分支: git branch -d newBranch 阅读全文

posted @ 2018-12-02 12:58 _jackie 阅读(1381) 评论(0) 推荐(0) 编辑

导航