SLaks 2013-03-21 05:37 采纳率: 0%
浏览 3317
已采纳

检查源代码后,如何切换到一个特定的android版本?

如果我用下面的方法查看 android 源代码

repo init -u git://android.git.kernel.org/platform/manifest.git

如何转换到一个特定的 android 版本?例如1.6版本?

  • 写回答

2条回答

  • 王玉成的博客 博客专家认证 2013-03-25 00:44
    关注

    由于repo是同时管理的多个git和svn库,单纯用git会出现问题的.

    下面是repo的常用功能

    [ycwang@ycwang:android-git]$ ./repo 
    usage: repo COMMAND [ARGS]
    
    The most commonly used repo commands are:
    
      abandon      Permanently abandon a development branch
      branch       View current topic branches
      branches     View current topic branches
      checkout     Checkout a branch for development
      cherry-pick  Cherry-pick a change.
      diff         Show changes between commit and working tree
      download     Download and checkout a change
      grep         Print lines matching a pattern
      init         Initialize repo in the current directory
      list         List projects and their associated directories
      prune        Prune (delete) already merged topics
      rebase       Rebase local branches on upstream branch
      smartsync    Update working tree to the latest known good revision
      stage        Stage file(s) for commit
      start        Start a new branch for development
      status       Show the working tree status
      sync         Update working tree to the latest revision
      upload       Upload changes for code review
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?