---
title: "Git Comparison"
description: Side-by-side mapping of dolt commands to their git equivalents — start here if you already know Git.
---

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`      | 🟠        | See [dolt table rm](/cli-reference/cli#dolt-table-rm) |
| `mv`      | 🟠        | See [dolt table mv](/cli-reference/cli#dolt-table-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`         | 🟠        | [does not completely match Git's behavior](https://github.com/dolthub/dolt/issues/6313)                                                                                                             |
| `gc`            | ✅        |                                                                                                                                                                                                     |
| `fsck`          | ✅        |                                                                                                                                                                                                     |
| `reflog`        | ✅        | [does not completely match Git's behavior](https://www.dolthub.com/blog/2023-11-17-dolt-reflog/):<br/> <li>only supports named references (not Git's special refs)</li> <li>shows deleted refs</li> |
| `filter-branch` | ✅        |                                                                                                                                                                                                     |

## Plumbing Commands

| Component      | Supported | Notes and limitations |
| :------------- | :-------- | :-------------------- |
| `check-ignore` | ❌        |                       |
| `ls`           | ✅        |                       |
| `merge-base`   | ✅        |                       |
| `rev-list`     | ❌        |                       |
| `rev-parse`    | ❌        |                       |
| `name-rev`     | ❌        |                       |
| `show-ref`     | ❌        |                       |
| `update-ref`   | ❌        |                       |

If you are interested in a command that is currently unsupported, please [open an issue](https://github.com/dolthub/dolt/issues) or contact us on [discord](https://discord.gg/8qyCyRfh).
