49 lines
1.8 KiB
Markdown
49 lines
1.8 KiB
Markdown
# 你要做什么?
|
||
|
||
在VSCode中,用 git clone 这个仓库,然后研究markdown-introduction.md这个文件。它介绍了markdown的一些常用语法。
|
||
|
||
## 我不会啊?
|
||
|
||
首先,新建一个单独的文件夹。你绝对不会希望git clone下来的文件和其他东西混一起。
|
||
|
||
在这个新建的文件夹内打开VSCode,或者在VSCode中打开这个文件夹。页面应该长这样:
|
||
|
||

|
||
|
||
点击右上角的图示按钮,然后在下面点击“终端”
|
||
|
||

|
||
|
||
然后你就可以在终端里输入:
|
||
|
||
```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)
|
||
|