From cbd78a91943d1099dad8e285c5adfcf3a269b7ad Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 11 Apr 2024 08:32:40 -0400 Subject: man: regenerate man pages Change-Id: I8d9dcb37f315d4208b7c8005206ae939dad79a3e Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/419197 Tested-by: Mike Frysinger Commit-Queue: Mike Frysinger Reviewed-by: Josip Sokcevic --- man/repo-sync.1 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'man/repo-sync.1') 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 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man. -.TH REPO "1" "November 2022" "repo sync" "Repo Manual" +.TH REPO "1" "April 2024" "repo sync" "Repo Manual" .SH NAME repo \- repo sync - manual page for repo sync .SH SYNOPSIS @@ -37,6 +37,11 @@ overwrite an existing git directory if it needs to point to a different object directory. WARNING: this may cause loss of data .TP +\fB\-\-force\-checkout\fR +force checkout even if it results in throwing away +uncommitted modifications. WARNING: this may cause +loss of data +.TP \fB\-\-force\-remove\-dirty\fR force remove projects with uncommitted modifications 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 they have previously been linked to a different object directory. WARNING: This may cause data to be lost since refs may be removed when overwriting. .PP +The \fB\-\-force\-checkout\fR option can be used to force git to switch revs even if the +index or the working tree differs from HEAD, and if there are untracked files. +WARNING: This may cause data to be lost since uncommitted changes may be +removed. +.PP The \fB\-\-force\-remove\-dirty\fR option can be used to remove previously used projects with uncommitted changes. WARNING: This may cause data to be lost since uncommitted changes may be removed with projects that no longer exist in the -- cgit v1.2.3-54-g00ecf