From a54f0c74b9cf6ba8ed3beb56d18e7c505f4c2267 Mon Sep 17 00:00:00 2001 From: MI-Air <1612990205@qq.com> Date: Sun, 5 Jun 2022 08:26:39 +0800 Subject: [PATCH] =?UTF-8?q?git01=20-=20git=E9=A1=B9=E7=9B=AE=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E5=B9=B6=E6=8E=A8=E9=80=81=E8=87=B3=E8=BF=9C?= =?UTF-8?q?=E7=A8=8B=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git01.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/git01.md b/git01.md index f837039..ff5b3d2 100644 --- a/git01.md +++ b/git01.md @@ -6,16 +6,23 @@ git init ``` ### 2. 添加到暂存区 +> 添加指定文件 + ``` git add git01.md ``` +> 添加全部文件 + +``` +git add . +``` + ### 3. 检查状态 ``` git status ``` - ### 4. 提交到本地库 ``` git commit -m 'git版本库初始化与文件提交操作'