Roger Shimizu | 0a1f533 | 2021-06-20 21:41:05 +0900 | [diff] [blame] | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
| 2 | .TH REPO "1" "July 2021" "repo smartsync" "Repo Manual" |
| 3 | .SH NAME |
| 4 | repo \- repo smartsync - manual page for repo smartsync |
| 5 | .SH SYNOPSIS |
| 6 | .B repo |
| 7 | \fI\,smartsync \/\fR[\fI\,<project>\/\fR...] |
| 8 | .SH DESCRIPTION |
| 9 | Summary |
| 10 | .PP |
| 11 | Update working tree to the latest known good revision |
| 12 | .SH OPTIONS |
| 13 | .TP |
| 14 | \fB\-h\fR, \fB\-\-help\fR |
| 15 | show this help message and exit |
| 16 | .TP |
| 17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR |
Mike Frysinger | df8b1cb | 2021-07-26 15:59:20 -0400 | [diff] [blame^] | 18 | number of jobs to run in parallel (default: based on |
| 19 | number of CPU cores) |
Roger Shimizu | 0a1f533 | 2021-06-20 21:41:05 +0900 | [diff] [blame] | 20 | .TP |
| 21 | \fB\-\-jobs\-network\fR=\fI\,JOBS\/\fR |
| 22 | number of network jobs to run in parallel (defaults to |
| 23 | \fB\-\-jobs\fR) |
| 24 | .TP |
| 25 | \fB\-\-jobs\-checkout\fR=\fI\,JOBS\/\fR |
| 26 | number of local checkout jobs to run in parallel |
| 27 | (defaults to \fB\-\-jobs\fR) |
| 28 | .TP |
| 29 | \fB\-f\fR, \fB\-\-force\-broken\fR |
| 30 | obsolete option (to be deleted in the future) |
| 31 | .TP |
| 32 | \fB\-\-fail\-fast\fR |
| 33 | stop syncing after first error is hit |
| 34 | .TP |
| 35 | \fB\-\-force\-sync\fR |
| 36 | overwrite an existing git directory if it needs to |
| 37 | point to a different object directory. WARNING: this |
| 38 | may cause loss of data |
| 39 | .TP |
| 40 | \fB\-\-force\-remove\-dirty\fR |
| 41 | force remove projects with uncommitted modifications |
| 42 | if projects no longer exist in the manifest. WARNING: |
| 43 | this may cause loss of data |
| 44 | .TP |
| 45 | \fB\-l\fR, \fB\-\-local\-only\fR |
| 46 | only update working tree, don't fetch |
| 47 | .TP |
| 48 | \fB\-\-no\-manifest\-update\fR, \fB\-\-nmu\fR |
| 49 | use the existing manifest checkout as\-is. (do not |
| 50 | update to the latest revision) |
| 51 | .TP |
| 52 | \fB\-n\fR, \fB\-\-network\-only\fR |
| 53 | fetch only, don't update working tree |
| 54 | .TP |
| 55 | \fB\-d\fR, \fB\-\-detach\fR |
| 56 | detach projects back to manifest revision |
| 57 | .TP |
| 58 | \fB\-c\fR, \fB\-\-current\-branch\fR |
| 59 | fetch only current branch from server |
| 60 | .TP |
| 61 | \fB\-\-no\-current\-branch\fR |
| 62 | fetch all branches from server |
| 63 | .TP |
| 64 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml |
| 65 | temporary manifest to use for this sync |
| 66 | .TP |
| 67 | \fB\-\-clone\-bundle\fR |
| 68 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS |
| 69 | .TP |
| 70 | \fB\-\-no\-clone\-bundle\fR |
| 71 | disable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS |
| 72 | .TP |
| 73 | \fB\-u\fR MANIFEST_SERVER_USERNAME, \fB\-\-manifest\-server\-username\fR=\fI\,MANIFEST_SERVER_USERNAME\/\fR |
| 74 | username to authenticate with the manifest server |
| 75 | .TP |
| 76 | \fB\-p\fR MANIFEST_SERVER_PASSWORD, \fB\-\-manifest\-server\-password\fR=\fI\,MANIFEST_SERVER_PASSWORD\/\fR |
| 77 | password to authenticate with the manifest server |
| 78 | .TP |
| 79 | \fB\-\-fetch\-submodules\fR |
| 80 | fetch submodules from server |
| 81 | .TP |
| 82 | \fB\-\-use\-superproject\fR |
| 83 | use the manifest superproject to sync projects |
| 84 | .TP |
| 85 | \fB\-\-no\-use\-superproject\fR |
| 86 | disable use of manifest superprojects |
| 87 | .TP |
| 88 | \fB\-\-tags\fR |
| 89 | fetch tags |
| 90 | .TP |
| 91 | \fB\-\-no\-tags\fR |
| 92 | don't fetch tags |
| 93 | .TP |
| 94 | \fB\-\-optimized\-fetch\fR |
| 95 | only fetch projects fixed to sha1 if revision does not |
| 96 | exist locally |
| 97 | .TP |
| 98 | \fB\-\-retry\-fetches\fR=\fI\,RETRY_FETCHES\/\fR |
| 99 | number of times to retry fetches on transient errors |
| 100 | .TP |
| 101 | \fB\-\-prune\fR |
| 102 | delete refs that no longer exist on the remote |
| 103 | .SS Logging options: |
| 104 | .TP |
| 105 | \fB\-v\fR, \fB\-\-verbose\fR |
| 106 | show all output |
| 107 | .TP |
| 108 | \fB\-q\fR, \fB\-\-quiet\fR |
| 109 | only show errors |
| 110 | .SS repo Version options: |
| 111 | .TP |
| 112 | \fB\-\-no\-repo\-verify\fR |
| 113 | do not verify repo source code |
| 114 | .PP |
| 115 | Run `repo help smartsync` to view the detailed manual. |
| 116 | .SH DETAILS |
| 117 | .PP |
| 118 | The 'repo smartsync' command is a shortcut for sync \fB\-s\fR. |