摘要: 参见github流程图,我们公司内部则采用gitlab,原理也一样。如果git 只需要修改最近一次提交的commit信息或代码,则可以通过如下方式解决: git add xxx git commit --amend -s git push [remote-repo-branch] ... 阅读全文
posted @ 2016-01-07 22:48 chenqiangzhishen 阅读(764) 评论(0) 推荐(0) 编辑
摘要: 需要以common repo (gitlab)中的某个branch( remote_xxx)为基础,建立要添加的branch (new_xxx), 假设远程自己的repo为(origin)如果远程repo name为 gitlab.则:git checkout gitlab/remo... 阅读全文
posted @ 2016-01-07 18:22 chenqiangzhishen 阅读(452) 评论(0) 推荐(0) 编辑