From 05f91c8a0191b2cb4ef0baa9690abc5d83fd2f1e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 8 Dec 2025 19:42:12 +0800 Subject: Add --overwrite flag to track command and show skipped files The flag allows users to confirm overwriting locally modified files during sync operations. When files are skipped due to local modifications, a warning message now displays the skipped files and provides the command to overwrite them. --- locales/help_docs/en.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'locales/help_docs/en.yml') diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index 9009f4b..fa458f2 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -474,11 +474,6 @@ jv: **DOWN**: %{old_files} to update, %{download_files} to download **UP** : %{new_files} to track, %{modified_files} to commit - need_upload: | - Since your specified tracking operation involves uploading, you need to provide detailed description of your changes - Ready to commit? Use `jv track --work` to start filling in commit information - Don't want to use command line editor? Use `jv track --msg ` to commit directly - fail: std: current_dir: Failed to get current directory @@ -874,6 +869,13 @@ jv: Tracked %{count} files to latest! **Total**: %{created} Created, %{updated} Updated, %{synced} Synced + tip_has_skipped: | + **Note**: Skipped %{skipped_num} sync tasks + %{skipped} + Because local modifications exist, the sync task will forcibly overwrite your changes. + Please confirm you really want to overwrite these files. + Use `jv track . --overwrite` to confirm overwriting them + structure_changes_not_solved: | There are unresolved local lost and moved items! **Tip**: Use `jv align` to view items that need to be resolved -- cgit