Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-30 15:41:04 +08:00
commit 643eb82009
6 changed files with 122 additions and 0 deletions

46
README.md Normal file
View File

@@ -0,0 +1,46 @@
# 你要做什么?
在VSCode中用 git clone 这个仓库然后研究markdown-introduction.md这个文件。它介绍了markdown的一些常用语法。
## 我不会啊?
首先新建一个单独的文件夹。你绝对不会希望git clone下来的文件和其他东西混一起。
在这个新建的文件夹内打开VSCode或者在VSCode中打开这个文件夹。页面应该长这样:
![VSCode界面](./images/VSCode-new.png)
点击右上角的图示按钮,然后在下面点击“终端”
![打开终端](./images/open-terminal.png)
然后你就可以在终端里输入:
```bash
git clone https://gitea.voiddeer.cn/Void_Deer/Markdown-Introduction.git
```
这条命令会把这个仓库克隆到你当前所在的文件夹里。克隆完成后你就可以在VSCode的资源管理器里看到这个仓库了。
接下来打开markdown-introduction.md这个文件看看里面的内容。它介绍了markdown的一些常用语法。
## 我运行git clone的时候它报错了
如果你看到了:
```text
git: The term 'git' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
```
或者:
```text
git : 无法将“git”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写如果包括路径请确保路径
正确,然后再试一次
```
多半是你没有安装git。来这儿下载它网盘安装完成后**重启电脑**,再试一次。
[https://1823548741.share.123865.com/123pan/XJYFjv-4EA03](https://1823548741.share.123865.com/123pan/XJYFjv-4EA03)