摘要: Git 使用手册 restore git restore 用于将文件恢复到指定提交的状态。 默认操作 工作区,加上 --staged 参数则操作 暂存区。 1. 从哪里恢复 从暂存区恢复(索引) git restore --source index ⚡ 实际不可以指定--source 为 index 阅读全文
posted @ 2025-12-14 11:56 岁叶年华 阅读(3) 评论(0) 推荐(0)