Changes between Version 14 and Version 15 of venice/bsp


Ignore:
Timestamp:
12/15/2021 07:56:36 PM (9 months ago)
Author:
Tim Harvey
Comment:

add more info to repo cmd

Legend:

Unmodified
Added
Removed
Modified
  • venice/bsp

    v14 v15  
    9494[=#repo]
    9595=== Working with the repo tool
    96 
    97 ==== Updating to the latest code
     96The {{{repo}}} tool unifies Git repositories into a single project by specifying Git repos and directories they exist in. The tool was created for the Android project as Android is comprised of hundreds of repos however it has since been used by many projects that benefit from its git repo management tool.
     97
     98See:
     99 - https://source.android.com/setup/develop#repo
     100 - https://gerrit.googlesource.com/git-repo/+/refs/heads/master/README.md
     101 - https://source.android.com/setup/develop/repo
     102
     103==== Updating to the latest code (repo sync)
    98104When working with the {{{repo}}} tool you can update to the latest code using the {{{repo sync}}} command:
    99105{{{#!bash
     
    119125}}}
    120126
    121 This specific error is saying that the 'v5.10.76-venice' revision (or branch) is not in the current working copy of the repo. To resolve this you need to do a {{{git remote update}}} for that project:
    122 {{{#!bash
    123 git -C linux remote update
     127This specific error is saying that the 'v5.10.76-venice' revision (or branch) is not in the current working copy of the repo. To resolve this you need to do a {{{git remote update}}} for that project. You can also use {{{repo foreach}}} to update all projects:
     128{{{#!bash
     129repo forall -c git remote update # update all projects
     130git -C linux remote update # update just the project in the linux path
    124131}}}
    125132
     133
     134==== Showing diffs for all projects (repo diff)
     135You can show all the diffs for each project using {{{repo diff}}}
    126136
    127137==== Using the latest version