LogoLogo
DoltHubBlogDiscordGitHubDolt
  • Introduction
    • What Is Dolt?
    • Installation
      • Linux
      • Windows
      • Mac
      • Build from Source
      • Application Server
      • Docker
      • Upgrading
    • Getting Started
      • Version Controlled Database
      • Git For Data
      • Versioned MySQL Replica
    • Use Cases
      • Data Sharing
      • Data and Model Quality Control
      • Manual Data Curation
      • Version Control for your Application
      • Versioned MySQL Replica
      • Audit
      • Configuration Management
      • Offline First
  • Concepts
    • Dolt
      • Git
        • Commits
        • Log
        • Diff
        • Branch
        • Merge
        • Conflicts
        • Remotes
        • Working Set
      • SQL
        • Databases
        • Schema
        • Tables
        • Primary Keys
        • Types
        • Indexes
        • Views
        • Constraints
        • Triggers
        • Procedures
        • Users/Grants
        • Transactions
        • System Variables
      • RDBMS
        • Server
        • Backups
        • Replication
    • DoltHub/DoltLab
      • Permissions
      • Pull Requests
      • Issues
      • Forks
  • SQL Reference
    • Running the Server
      • Configuration
      • Access Management
      • Branch Permissions
      • Backups
      • Garbage Collection
      • Metrics
      • Replication
      • Troubleshooting
    • Version Control Features
      • Using Branches
      • Merges
      • Querying History
      • Using Remotes
      • Procedures
      • Functions
      • System Tables
      • System Variables
      • Saved Queries
    • SQL Language Support
      • Data Description
      • Expressions, Functions, Operators
      • Supported Statements
      • MySQL Information Schema
      • Collations and Character Sets
      • System Variables
      • Miscellaneous
    • Supported Clients
      • Programmatic
      • SQL Editors
    • Benchmarks and Metrics
      • Correctness
      • Latency
      • Import
  • CLI Reference
    • Commands
    • Git Comparison
  • Architecture
    • Overview
    • Storage Engine
      • Commit Graph
      • Prolly Trees
      • Block Store
    • SQL
      • Go MySQL Server
      • Vitess
  • Guides
    • Cheat Sheet
    • Contributing
      • dolt
      • go-mysql-server
    • MySQL to Dolt Replication
    • Importing Data
    • Integrations
  • Other
    • FAQ
    • Roadmap
    • Versioning
  • Products
    • Hosted Dolt
      • Getting Started
      • Notable Features
      • SQL Workbench
      • Cloning a Hosted Database
      • Using DoltHub as a Remote
      • Infrastructure
    • DoltHub
      • Data Sharing
      • API
        • Authentication
        • SQL
        • CSV
        • Database
        • Hooks
      • Continuous Integration
        • Getting Started
        • Workflow Reference
      • Transform File Uploads
      • Workspaces
    • DoltLab
    • Dolt Workbench
    • DoltgreSQL
Powered by GitBook
On this page
  • Setup and Config
  • Getting and Creating Databases
  • Basic Snapshotting
  • Branching and Merging
  • Sharing and Updating Databases
  • Inspection and Comparison
  • Patching
  • Debugging
  • Administration
  • Plumbing Commands

Was this helpful?

Edit on GitHub
Export as PDF
  1. CLI Reference

Git Comparison

We aim to match our CLI command behavior as closely to their Git equivalent as possible. This page lists the commands that are currently supported, and any known limitations.

Setup and Config

Component
Supported
Notes and limitations

config

✅

help

🟠

Getting and Creating Databases

Component
Supported
Notes and limitations

init

✅

clone

✅

Basic Snapshotting

Component
Supported
Notes and limitations

add

✅

status

✅

commit

✅

notes

❌

restore

❌

reset

✅

rm

🟠

mv

🟠

Branching and Merging

Component
Supported
Notes and limitations

branch

✅

checkout

✅

merge

✅

log

✅

stash

✅

tag

✅

worktree

❌

switch

❌

Sharing and Updating Databases

Component
Supported
Notes and limitations

fetch

✅

pull

✅

push

✅

remote

✅

Inspection and Comparison

Component
Supported
Notes and limitations

show

🟠

not supported for merge commits or internal objects

diff

✅

range-diff

❌

shortlog

❌

Patching

Component
Supported
Notes and limitations

cherry-pick

✅

rebase

✅

revert

✅

Debugging

Component
Supported
Notes and limitations

bisect

❌

blame

✅

Administration

Component
Supported
Notes and limitations

clean

🟠

gc

✅

fsck

❌

reflog

✅

  • only supports named references (not Git's special refs)

  • shows deleted refs

filter-branch

✅

Plumbing Commands

Component
Supported
Notes and limitations

check-ignore

❌

ls

✅

merge-base

✅

rev-list

❌

rev-parse

❌

name-rev

❌

show-ref

❌

update-ref

❌

PreviousCommandsNextOverview

Last updated 1 year ago

Was this helpful?

See

See

:

If you are interested in a command that is currently unsupported, please or contact us on .

open an issue
discord
does not completely match Git's behavior
does not completely match Git's behavior
dolt table rm
dolt table mv