update 代码提交.md

This commit is contained in:
eazzy 2024-05-30 19:19:25 +08:00
parent 67e47a230b
commit 0afbe73388
1 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,3 @@
---
sidebar_label: '代码提交'
sidebar_position: 3
@ -7,14 +6,12 @@ sidebar_position: 3
## GitLink 代码提交
- **提交者**geekchen
- **日期**2024.5.27
## 一、直接在网页上提交代码:
## 1.直接在网页上提交代码:
![](../../static/img/代码提交1.png)<br/>
**接着:**
![](../../static/img/代码提交2.png)<br/>
## 二、通过git将本地代码文件上传(可单个文件,可多个文件构成的文件夹) [非代码亦可上传]
## 2.通过git将本地代码文件上传(可单个文件,可多个文件构成的文件夹) [非代码亦可上传]
**在对应目录下打开git bash,输入以下命令:**
git add +[你要提交的代码文件]
git commit -m "xxx" [xxx为你自己备注的提交信息]