
【Android之Repo 管理】
SoloLinux
专注Kernel,GPU Driver,ROCM,CPU, Power/Performance开
展开
-
提取高通最新代码patch
针对高通过一段时间就会更新代码。而我们的开发仓库无法直接和高通代码合并。那就需要把这个时间段的patch提取出来,再看有哪些update ,然后考虑合并与否说个大概思路首先repo init -u xxx -b branch-name --mirror修改platform/manifest.git 里面的地址为本地地址下载到本地代码到新目录生成patch原创 2012-09-13 19:35:15 · 5903 阅读 · 0 评论 -
設定 Git 環境
設定 Git 環境參考來源:http://progit.org/book/在這台機器上的預設 git 設定其實就是設定 ~/.gitconfig 的內容,除了直接編輯外,也可以用指令來設定,例如:git config --global user.name "yuan wei"git config --global user.email yuanwei@XXXX.gm原创 2012-05-16 14:42:25 · 704 阅读 · 0 评论 -
建立本地repo 管理仓库
repo是一个将多个git tree进行系统管理的工具,repo本身不是一个源代码版本管理系统,它只是联合manifest.git中project list xml的多个工程,统一管理。在运行repo sync的情况下,xml文件中指定的工程都统一被sync下来。下面用最简单的实例证明如何建议一个repo服务。1. 进入home目录,创建repo-server子目录,如/home/原创 2012-03-06 14:52:05 · 4005 阅读 · 3 评论 -
使用git管理github项目
http://progit.org/book/zh/ Git是一个分布式的版本控制系统,最初由Linus Torvalds编写,用作Linux内核代码的管理。在推出后,Git在其它项目中也取得了很大成功,尤其是在Ruby社区中。目前,包括Rubinius和Merb在内的很多知名项目都使用了Git。Git同样可以被诸如Capistrano和Vlad the Deployer这样的部署原创 2012-03-03 23:17:38 · 748 阅读 · 0 评论 -
分枝和合并基础知识介绍
第三课 Git 工作流程 与远程仓库同步,修改,载入(stage)和提交项目 现在你已经有一个git本地仓库,一切都配置完毕。然后该怎么办?一般来说,跟其他的源码控制系统的工作流程没什么两样,唯一一个区别就是载入(stage)的过程。整个工作流程大致是这样(流程1):与远程仓库同步 修改文件查看变更载入变更提交载入的变更转载 2012-01-11 20:15:42 · 825 阅读 · 0 评论 -
git log 用法大全
git log [] [..] [[--] ...]因为这个命令用的很多。找了点资料,放到这了。DescriptionShows the commit logs.The command takes options applicable to the git rev-list command to control what is shown and how, and options翻译 2012-01-11 11:54:14 · 5239 阅读 · 0 评论 -
git 使用点点滴滴
yuanwei@SW-02:~/s400-hx8369/mediatek/custom/common/kernel/lcm/hx8369$ git log --pretty=oneline一行显示所有内容fb7a455f201ccf1993eda9eccc549465de86143c modify hx8369 driver for some issues083ab9abde3e69原创 2012-01-11 10:40:36 · 3341 阅读 · 0 评论 -
repo 使用方法
以为最近工作用git 比较多。 学习一下repo 和git的用法能增快效率和代码管理。1. 下载 repo 的地址: http://android.git.kernel.org/repo ,可以用 wget http://android.git.kernel.org/repo 或者 curlhttp://android.git.kernel.org/repo原创 2011-12-12 16:23:35 · 1675 阅读 · 0 评论