git版本库初始化与文件提交操作

This commit is contained in:
MI-Air 2022-06-04 23:06:51 +08:00
commit dd97f1df84
2 changed files with 25 additions and 0 deletions

25
git01.md Normal file
View File

@ -0,0 +1,25 @@
## git 版本库初始化与文件提交操作
### 1. 初始化 git 仓库
```
git init
```
### 2. 添加到暂存区
```
git add git01.md
```
### 3. 检查状态
```
git status
```
### 4. 提交到本地库
```
git commit -m 'git版本库初始化与文件提交操作'
```
### 5. 操作截图
![](git01_files/1.jpg)

BIN
git01_files/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB