From 70d244d86ba7b65f9c76f32435e08895b1811e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=B5=AA=E4=BA=91?= Date: Sat, 12 Sep 2026 14:33:35 +0800 Subject: [PATCH] Update git checkout command explanation Clarified the description of the 'git checkout' command. --- index-zh-cn.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index-zh-cn.html b/index-zh-cn.html index e932de4..fc34b03 100644 --- a/index-zh-cn.html +++ b/index-zh-cn.html @@ -94,7 +94,7 @@

基本用法

  • git commit files 进行一次包含最后一次提交加上工作目录中文件快照的提交。并且文件被添加到暂存区域。
  • -
  • git checkout HEAD -- files 回滚到复制最后一次提交。
  • +
  • git checkout HEAD -- files 把最后一次提交中的 files 复制到暂存区域和工作目录。