# GitHub一键切换网页版vscode在线编辑

{% embed url="<https://v.douyin.com/r6sCcSu/>" %}

{% embed url="<https://www.bilibili.com/video/BV1gu411R7F3/>" %}

在线编辑

大家好无意间发现GitHub还有这个功能

就是你在任何一个仓库里边

摁键盘上这个点（就是中文的句号）

他就会自动切换到在线版的 vscode

然后就在这里边直接写代码就可以了

那我发现他对于我们

比如说简单改改README来说特别方便

你就不需要再打开编辑器了

而且呢他也有预览看看

这也可以预览Markdown

然后呢写完之后怎么提交呢

比如在这随便改一个东西

这有一个 changes

在这点下加号就说明要提交吗

就跟我们那个 git add 的一样

然后在这写点描述 test 哈

然后呢点这个对勾就提交了

但是哈如果你打开的是别人的库

大家看会是什么样子哈

找随便找一个库

好大家看啊比如这是别人的库

我随便改点东西

然后添加 test

试一下直接 fock 一下

好出来了他这出来一个

提交，这是创建了一个新分支

switch

好就直接切换到

我们 fock 出来这个库的新分支了

挺好玩的还大家有空自己试一下哈

再见


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sunzsh.gitbook.io/xiaoshan.bug/github-yi-jian-qie-huan-wang-ye-ban-vscode-zai-xian-bian-ji.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
