Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to_use_google_repo [2020/04/14 15:35] – [The two versions of repo] rpjdayhow_to_use_google_repo [2020/04/21 11:07] (current) – [Commands] rpjday
Line 7: Line 7:
   * [[https://www.automotivelinux.org/|AGL home page]]   * [[https://www.automotivelinux.org/|AGL home page]]
     * [[https://wiki.automotivelinux.org/start|AGL wiki]]     * [[https://wiki.automotivelinux.org/start|AGL wiki]]
 +
 +===== TO DO =====
 +
 +  * Discuss cloning just manifest repo.
 +
 +===== Commands =====
 +
 +==== repo help ====
 +
 +<code>
 +  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
 +  diffmanifests  Manifest diff utility
 +  download       Download and checkout a change
 +  gitc-delete    Delete a GITC Client.
 +  gitc-init      Initialize a GITC Client.
 +  grep           Print lines matching a pattern
 +  info           Get info on the manifest branch, current branch or unmerged branches
 +  init           Initialize repo in the current directory
 +  list           List projects and their associated directories
 +  overview       Display overview of unmerged project branches
 +  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
 +</code>
 +
  
  
Line 21: Line 56:
 ===== Installing "repo" launcher tool ===== ===== Installing "repo" launcher tool =====
  
-Install the ''repo'' launcher tool in your personal ''~/bin'' directory:+As explained above, install the launcher tool version of ''repo'' in any directory that is on your search path, such as:
  
 <code> <code>
Line 28: Line 63:
 </code> </code>
  
-Note well that this is not the ''repo'' command itself; ratherit is the //launcher tool// that will, every time you initialize a new repo directory, copy the //actual// ''repo'' command into that new directory. +Once again, this is not the full version of the command; its job is to simply initialize new repositories when you run ''repo init'', then in each of those repositories install the //full// version of the command, which will be used from then on.
- +
-Do not confuse these two things; that is a common misunderstanding.+
  
 ===== Initializing a repo repository ===== ===== Initializing a repo repository =====
Line 37: Line 70:
  
 <code> <code>
-$ mkdir repo_dir +$ mkdir agl_dir 
-$ cd repo_dir+$ cd agl_dir
 </code> </code>
  
  • how_to_use_google_repo.1586878538.txt.gz
  • Last modified: 2020/04/14 15:35
  • by rpjday