git版本库初始化与文件提交操作
This commit is contained in:
commit
dd97f1df84
25
git01.md
Normal file
25
git01.md
Normal file
@ -0,0 +1,25 @@
|
||||
## git 版本库初始化与文件提交操作
|
||||
|
||||
### 1. 初始化 git 仓库
|
||||
```
|
||||
git init
|
||||
```
|
||||
|
||||
### 2. 添加到暂存区
|
||||
```
|
||||
git add git01.md
|
||||
```
|
||||
|
||||
### 3. 检查状态
|
||||
```
|
||||
git status
|
||||
```
|
||||
|
||||
|
||||
### 4. 提交到本地库
|
||||
```
|
||||
git commit -m 'git版本库初始化与文件提交操作'
|
||||
```
|
||||
|
||||
### 5. 操作截图
|
||||

|
BIN
git01_files/1.jpg
Normal file
BIN
git01_files/1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
Loading…
x
Reference in New Issue
Block a user