> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wit.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands

> All wit commands organized by category

wit commands are organized by what you're trying to do.

<CardGroup cols={2}>
  <Card title="Basic Workflow" icon="code-commit" href="/commands/basic-workflow">
    init, add, commit, status, log, diff
  </Card>

  <Card title="Branches" icon="code-branch" href="/commands/branches">
    branch, switch, checkout, restore
  </Card>

  <Card title="Remotes" icon="cloud" href="/commands/remotes">
    clone, fetch, pull, push, remote
  </Card>

  <Card title="Merge" icon="code-merge" href="/commands/merge">
    merge, conflict resolution
  </Card>

  <Card title="Stash" icon="box-archive" href="/commands/stash">
    stash, pop, apply, list
  </Card>

  <Card title="History Rewriting" icon="clock-rotate-left" href="/commands/history-rewriting">
    reset, revert, cherry-pick, rebase
  </Card>

  <Card title="Tags" icon="tag" href="/commands/tags">
    tag, lightweight, annotated
  </Card>

  <Card title="Undo & History" icon="rotate-left" href="/commands/undo-history">
    undo, uncommit, restore, history
  </Card>

  <Card title="Quality of Life" icon="wand-magic-sparkles" href="/commands/quality-of-life">
    wip, amend, cleanup, stats, blame, snapshot
  </Card>

  <Card title="Debugging" icon="bug" href="/commands/debugging">
    bisect, show, clean
  </Card>

  <Card title="Advanced" icon="gear" href="/commands/advanced">
    hooks, submodules, worktrees, reflog, gc, plumbing
  </Card>
</CardGroup>

## Getting Help

```bash theme={null}
wit --help              # list all commands
wit <command> --help    # help for specific command
```
