Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>gitmdNew to Visual Studio Code? Get it now.
gitmd

gitmd

charlzyx

|
16 installs
| (0) | Free
一个同步 md 文件夹到 git 的小玩意
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

gitmd

一个同步 md 文件夹到 git 的小玩意

  • 扫描一下文件生成一下 vitepress 导航

  • 启动一个 vitepress server by vitepress dev

  • 每5分钟同步一下 git git pull --ff -> git add . -> git commit -m 'autosave' -> git push

  • 就是这样了

vscode 插件

install to vscode

使用方式

  1. 命令行
npx gitmd dir/of/docs
  1. vscode 插件 检测打开的项目中 gitmd.js 文件是否存在 其实就是一个 vitepress 的配置啦
module.exports = {
  "title": "Chao's Memory",
  "description": "Git MarkDown Notes",
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft