autowt


Nameautowt JSON
Version 0.4.1 PyPI version JSON
download
home_pageNone
SummaryCustomizable git worktree manager
upload_time2025-07-24 23:13:36
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords development git workflow worktree
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # autowt: a better git worktree experience

**autowt** is a git worktree manager designed for developers who juggle multiple tasks. It automates the creation, management, and cleanup of git worktrees, giving each branch its own dedicated directory and terminal session. This eliminates context-switching friction, letting you focus on your code.

While powerful for any developer, `autowt` is a game-changer for those working with command-line AI agents like Claude Code, Gemini CLI, or Codex. It provides the perfect environment for running multiple agents in parallel without interference.

## Core features

**Automated Worktree Management**

`autowt` handles the entire lifecycle of your worktrees. It automatically creates them in a consistent directory structure, runs your setup scripts, and provides powerful cleanup tools to keep your workspace tidy.

**Seamless Terminal Integration**

Switching branches is as simple as typing `autowt <branch-name>`. `autowt` intelligently manages your terminal sessions, automatically switching to the correct tab or window, or creating a new one if needed.

**AI Agent Ready**

Isolate your AI agents in their own worktrees. Run multiple agents on different tasks simultaneously without them tripping over each other's work. `autowt` provides the perfect sandbox for parallel development and experimentation.

**Effortless Cleanup**

Keep your repository clean with `autowt cleanup`. It identifies and removes branches that are merged or have no remote counterpart, ensuring your workspace remains clutter-free.

## Getting started

You'll need Python 3.10+ and a version of `git` released in the last decade (2.5+).

First, install autowt:

```bash
pip install autowt
```

Then, from within a git repository, create a new worktree for a new or existing branch:

```bash
autowt my-new-feature
```

Watch as `autowt` creates a new worktree and opens it in a new terminal tab or window, ready for you to start coding.

## A typical workflow

1.  **Start a new feature**: Run `autowt new-feature`. A new terminal tab opens in an isolated directory for that branch.
2.  **Get an urgent request**: Don't stash! Just run `autowt hotfix/urgent-bug`. A different terminal tab opens for the hotfix.
3.  **Finish the hotfix**: Commit, push, and close the hotfix tab.
4.  **Return to your feature**: Run `autowt new-feature` again, and `autowt` will switch you right back to the existing terminal tab for that feature.
5.  **Clean up**: Once the hotfix branch is merged, run `autowt cleanup` to remove the old worktree and local branch.

## Dive deeper

For detailed guides on commands, configuration, and advanced workflows, check out the [**full documentation**](https://steveasleep.com/autowt/).

-   [**Getting Started Guide**](https://steveasleep.com/autowt/gettingstarted/)
-   [**AI Agents**](https://steveasleep.com/autowt/agents/)
-   [**CLI Reference**](https://steveasleep.com/autowt/clireference/)
-   [**Configuration**](https://steveasleep.com/autowt/configuration/)

## Contributing

Contributions are welcome! Please feel free to open an issue or submit a pull request.

## License

This project is licensed under the MIT License.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "autowt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "development, git, workflow, worktree",
    "author": null,
    "author_email": "Steve <steve@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/ee/4a/bf44b3865048908d6951e906fe8562e668f3d27eabff220f0905ecc39277/autowt-0.4.1.tar.gz",
    "platform": null,
    "description": "# autowt: a better git worktree experience\n\n**autowt** is a git worktree manager designed for developers who juggle multiple tasks. It automates the creation, management, and cleanup of git worktrees, giving each branch its own dedicated directory and terminal session. This eliminates context-switching friction, letting you focus on your code.\n\nWhile powerful for any developer, `autowt` is a game-changer for those working with command-line AI agents like Claude Code, Gemini CLI, or Codex. It provides the perfect environment for running multiple agents in parallel without interference.\n\n## Core features\n\n**Automated Worktree Management**\n\n`autowt` handles the entire lifecycle of your worktrees. It automatically creates them in a consistent directory structure, runs your setup scripts, and provides powerful cleanup tools to keep your workspace tidy.\n\n**Seamless Terminal Integration**\n\nSwitching branches is as simple as typing `autowt <branch-name>`. `autowt` intelligently manages your terminal sessions, automatically switching to the correct tab or window, or creating a new one if needed.\n\n**AI Agent Ready**\n\nIsolate your AI agents in their own worktrees. Run multiple agents on different tasks simultaneously without them tripping over each other's work. `autowt` provides the perfect sandbox for parallel development and experimentation.\n\n**Effortless Cleanup**\n\nKeep your repository clean with `autowt cleanup`. It identifies and removes branches that are merged or have no remote counterpart, ensuring your workspace remains clutter-free.\n\n## Getting started\n\nYou'll need Python 3.10+ and a version of `git` released in the last decade (2.5+).\n\nFirst, install autowt:\n\n```bash\npip install autowt\n```\n\nThen, from within a git repository, create a new worktree for a new or existing branch:\n\n```bash\nautowt my-new-feature\n```\n\nWatch as `autowt` creates a new worktree and opens it in a new terminal tab or window, ready for you to start coding.\n\n## A typical workflow\n\n1.  **Start a new feature**: Run `autowt new-feature`. A new terminal tab opens in an isolated directory for that branch.\n2.  **Get an urgent request**: Don't stash! Just run `autowt hotfix/urgent-bug`. A different terminal tab opens for the hotfix.\n3.  **Finish the hotfix**: Commit, push, and close the hotfix tab.\n4.  **Return to your feature**: Run `autowt new-feature` again, and `autowt` will switch you right back to the existing terminal tab for that feature.\n5.  **Clean up**: Once the hotfix branch is merged, run `autowt cleanup` to remove the old worktree and local branch.\n\n## Dive deeper\n\nFor detailed guides on commands, configuration, and advanced workflows, check out the [**full documentation**](https://steveasleep.com/autowt/).\n\n-   [**Getting Started Guide**](https://steveasleep.com/autowt/gettingstarted/)\n-   [**AI Agents**](https://steveasleep.com/autowt/agents/)\n-   [**CLI Reference**](https://steveasleep.com/autowt/clireference/)\n-   [**Configuration**](https://steveasleep.com/autowt/configuration/)\n\n## Contributing\n\nContributions are welcome! Please feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Customizable git worktree manager",
    "version": "0.4.1",
    "project_urls": null,
    "split_keywords": [
        "development",
        " git",
        " workflow",
        " worktree"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d50dca439c7e85d58dd759483f53e842eef6d2afed5949a94bb11323cbe92b6e",
                "md5": "a672815c6848787f93af0c4573b70511",
                "sha256": "c630477ff73552fdf31384d35731c614ce0640c599977e1ee8743d0971c8866b"
            },
            "downloads": -1,
            "filename": "autowt-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a672815c6848787f93af0c4573b70511",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 79647,
            "upload_time": "2025-07-24T23:13:34",
            "upload_time_iso_8601": "2025-07-24T23:13:34.465235Z",
            "url": "https://files.pythonhosted.org/packages/d5/0d/ca439c7e85d58dd759483f53e842eef6d2afed5949a94bb11323cbe92b6e/autowt-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ee4abf44b3865048908d6951e906fe8562e668f3d27eabff220f0905ecc39277",
                "md5": "8dd293e60ab132313d4f67018b8b6c36",
                "sha256": "4fba0358411de9cb39172d5f08bd2500081b309755dff30331141c6c06e5e41d"
            },
            "downloads": -1,
            "filename": "autowt-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8dd293e60ab132313d4f67018b8b6c36",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 169833,
            "upload_time": "2025-07-24T23:13:36",
            "upload_time_iso_8601": "2025-07-24T23:13:36.111939Z",
            "url": "https://files.pythonhosted.org/packages/ee/4a/bf44b3865048908d6951e906fe8562e668f3d27eabff220f0905ecc39277/autowt-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-24 23:13:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "autowt"
}
        
Elapsed time: 0.48031s