随笔分类 -  版本控制

摘要:Git Submodule使用 创建子模块 更新submodule代码 git submodule update init recursive 克隆submodule代码到对应子目录 更新子模块在主模块中的commit id 在子模块目录通过commit或pull等操作修改commit id,然后在 阅读全文
posted @ 2017-10-14 10:17 银魔术师 阅读(225) 评论(0) 推荐(0)
摘要:Git查询 查询分支 git branch 查询本地分支 git branch a 查询所有分支 $ git branch a master remotes/origin/HEAD origin/master remotes/origin/master $ git branch master 查询仓 阅读全文
posted @ 2017-10-14 10:16 银魔术师 阅读(406) 评论(0) 推荐(0)
摘要:Git分支管理 获取远程目录 git clone ssh://UserName@RemoteIp/ProjectPath 克隆远程git目录 获取远程仓库分支 git clone https://github.com/openstack/taskflow.git b branch 获取远程对应分支 阅读全文
posted @ 2017-10-14 10:16 银魔术师 阅读(388) 评论(0) 推荐(0)
摘要:安装Apache组件 安装Git组件 Apache配置 阅读全文
posted @ 2017-10-14 10:15 银魔术师 阅读(155) 评论(0) 推荐(0)
摘要:Git配置 git配置文件~/.gitconfig 忽略文件.gitignore 阅读全文
posted @ 2017-10-14 10:14 银魔术师 阅读(138) 评论(0) 推荐(0)
摘要:Git提交与恢复 提交修改 git add all 提交所有修改文件 git add file file 提交部分修改文件 $ git status On branch master Your branch is up to date with 'origin/master'. Changes to 阅读全文
posted @ 2017-10-14 10:13 银魔术师 阅读(1127) 评论(0) 推荐(0)