diff options
Diffstat (limited to 'man/repo-sync.1')
-rw-r--r-- | man/repo-sync.1 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/man/repo-sync.1 b/man/repo-sync.1 index f006c03d..0327942a 100644 --- a/man/repo-sync.1 +++ b/man/repo-sync.1 | |||
@@ -1,5 +1,5 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
2 | .TH REPO "1" "November 2022" "repo sync" "Repo Manual" | 2 | .TH REPO "1" "April 2024" "repo sync" "Repo Manual" |
3 | .SH NAME | 3 | .SH NAME |
4 | repo \- repo sync - manual page for repo sync | 4 | repo \- repo sync - manual page for repo sync |
5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
@@ -37,6 +37,11 @@ overwrite an existing git directory if it needs to | |||
37 | point to a different object directory. WARNING: this | 37 | point to a different object directory. WARNING: this |
38 | may cause loss of data | 38 | may cause loss of data |
39 | .TP | 39 | .TP |
40 | \fB\-\-force\-checkout\fR | ||
41 | force checkout even if it results in throwing away | ||
42 | uncommitted modifications. WARNING: this may cause | ||
43 | loss of data | ||
44 | .TP | ||
40 | \fB\-\-force\-remove\-dirty\fR | 45 | \fB\-\-force\-remove\-dirty\fR |
41 | force remove projects with uncommitted modifications | 46 | force remove projects with uncommitted modifications |
42 | if projects no longer exist in the manifest. WARNING: | 47 | if projects no longer exist in the manifest. WARNING: |
@@ -185,6 +190,11 @@ The \fB\-\-force\-sync\fR option can be used to overwrite existing git directori | |||
185 | they have previously been linked to a different object directory. WARNING: This | 190 | they have previously been linked to a different object directory. WARNING: This |
186 | may cause data to be lost since refs may be removed when overwriting. | 191 | may cause data to be lost since refs may be removed when overwriting. |
187 | .PP | 192 | .PP |
193 | The \fB\-\-force\-checkout\fR option can be used to force git to switch revs even if the | ||
194 | index or the working tree differs from HEAD, and if there are untracked files. | ||
195 | WARNING: This may cause data to be lost since uncommitted changes may be | ||
196 | removed. | ||
197 | .PP | ||
188 | The \fB\-\-force\-remove\-dirty\fR option can be used to remove previously used projects | 198 | The \fB\-\-force\-remove\-dirty\fR option can be used to remove previously used projects |
189 | with uncommitted changes. WARNING: This may cause data to be lost since | 199 | with uncommitted changes. WARNING: This may cause data to be lost since |
190 | uncommitted changes may be removed with projects that no longer exist in the | 200 | uncommitted changes may be removed with projects that no longer exist in the |