geekchen 5.27 Update 代码提交.md

This commit is contained in:
geekChen 2024-05-27 15:45:08 +08:00
parent a27cf82961
commit 978de76993
1 changed files with 26 additions and 4 deletions

View File

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