Metadata-Version: 2.4
Name: git-wt
Version: 0.1.1
Summary: A lightweight CLI tool for managing git worktrees
Project-URL: Homepage, https://github.com/yuxiang/git-wt
Project-URL: Repository, https://github.com/yuxiang/git-wt
Author-email: Yuxiang <yuxiang@example.com>
License-Expression: MIT
License-File: LICENSE
Keywords: cli,git,productivity,worktree
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Version Control :: Git
Requires-Python: >=3.11
Requires-Dist: questionary
Requires-Dist: rich
Description-Content-Type: text/markdown

# git-wt

A lightweight CLI tool for managing git worktrees with automatic file syncing and post-create hooks.

## Install

```bash
uv tool install git-wt
```

## Usage

```bash
cd your-repo
git-wt
```

## Features

- Create worktrees with branch autocomplete
- Auto-copy or symlink configured files (.env, .envrc, etc.)
- Run post-create hooks (setup scripts)
- List worktrees with dirty status
- Remove worktrees with safety prompts
- Path copied to clipboard on creation

## Config

Create `.git-wt.toml` in your repo root:

```toml
[files]
mode = "copy"  # or "symlink"
paths = [".env", ".envrc"]

[hooks]
post_create = ["./setup.sh"]
```

## License

MIT
