Skip to main content

dolt

Use this skill when the user wants a SQL database with Git-style version control — branch tables, diff schemas, merge data changes, or clone/fork datasets like a Git repository.

来源信息

仓库
javimosch/supercli
最近来源活动
2026年7月20日 15:35
检测到的 SKILL.md 语言
英语
星标
51
Forks
7

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
dolt
description
Use this skill when the user wants a SQL database with Git-style version control — branch tables, diff schemas, merge data changes, or clone/fork datasets like a Git repository.
# dolt Plugin Git for data — a MySQL-compatible SQL database you can fork, clone, branch, merge, push, and pull. Version-control tabular data with familiar Git workflows. ## Installation ```bash curl -L https://github.com/dolthub/dolt/releases/latest/download/install.sh | bash # or brew install dolt ``` ## Basic Usage ```bash # Initialize a new database repo dolt init # Start a SQL shell (MySQL-compatible) dolt sql # Run a query dolt sql -q "SELECT * FROM my_table" # Version control operations dolt status dolt add . dolt commit -m "Add initial data" dolt branch feature dolt checkout feature dolt diff dolt merge main ``` ## Remote Workflows ```bash # Clone from DoltHub dolt clone dolthub/my-org/my-database # Push and pull dolt remote add origin dolthub/my-org/my-database dolt push origin main dolt pull origin main ``` ## Usage Examples - "Create a versioned SQL database for this dataset" - "Show me the diff between branches" - "Query this table and commit the changes" - "Clone a Dolt database from DoltHub" ## SuperCLI ```bash sc dolt _ _ sql -q "SHOW TABLES" sc plugins learn dolt ```
在 GitHub 查看