Changes between Version 42 and Version 43 of newport/bsp


Ignore:
Timestamp:
12/15/2021 07:56:30 PM (3 years ago)
Author:
Tim Harvey
Comment:

add more info to repo cmd

Legend:

Unmodified
Added
Removed
Modified
  • newport/bsp

    v42 v43  
    113113[=#repo]
    114114=== Working with the repo tool
     115The {{{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.
     116
     117See:
     118 - https://source.android.com/setup/develop#repo
     119 - https://gerrit.googlesource.com/git-repo/+/refs/heads/master/README.md
     120 - https://source.android.com/setup/develop/repo
    115121
    116122==== Updating to the latest code
     
    138144}}}
    139145
    140 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:
    141 {{{#!bash
    142 git -C linux remote update
    143 }}}
    144 
     146This 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:
     147{{{#!bash
     148repo forall -c git remote update # update all projects
     149git -C linux remote update # update just the project in the linux path
     150}}} 
     151
     152
     153==== Showing diffs for all projects (repo diff)
     154You can show all the diffs for each project using {{{repo diff}}}
    145155
    146156==== Using the latest version