autowt: Streamlining Your Git Worktree Management

This repository profile is provided by osrepos.com, an open source repository discovery platform.

autowt: Streamlining Your Git Worktree Management

Summary

autowt is a Python-based command-line tool designed to significantly improve the Git worktree experience. It automates common workflows like creating, switching, and cleaning up worktrees, making parallel development and branch management much more efficient. This tool integrates with your terminal and offers deep customization through lifecycle hooks for tailored automation.

Repository Information

Analyzed by OSRepos on April 25, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

autowt is an open-source command-line tool that enhances the native Git worktree feature, providing a more ergonomic and automated experience. Git worktrees allow developers to have multiple working directories linked to the same repository, sharing history and making it easy to switch between branches or tasks without stashing changes. While powerful, Git's built-in worktree commands can be verbose for common operations. autowt simplifies these tasks, offering a streamlined approach to managing your development environment.

Installation

autowt requires Python 3.10+ and Git 2.5+. Installation is straightforward using pip.

pip install autowt

Examples

autowt drastically simplifies common worktree operations. Instead of multiple steps to create a new worktree, set up dependencies, and copy configurations, autowt condenses it into a single command.

To create a new worktree for a branch:

autowt <branch>

For example, to create a worktree for my-new-feature:

autowt my-new-feature

This command will create the worktree and can even open it in a new terminal tab or window, thanks to its integration with tools like iTerm2, tmux, and Ghostty.

Cleaning up merged or closed PR branches is also simplified:

autowt cleanup

autowt also supports custom commands, allowing integration with issue trackers or other tools. For instance, you could configure it to open worktrees based on issue IDs:

autowt linear ABC-1234

Why use autowt

autowt offers several compelling reasons to integrate it into your Git workflow:

  • Worktree Ergonomics: It shortens common worktree commands and integrates with your terminal program to automate opening new sessions, supporting various terminal emulators.
  • Deep, Customizable Automation: Define scripts in .autowt.toml to run at various points in the worktree lifecycle, such as after creation or before cleanup, enabling highly tailored workflows.
  • Smart Cleanup: Configure autowt to automatically remove worktrees whose branches have been merged or are associated with closed pull requests on GitHub.
  • Friendly TUIs: autowt uses interactive terminal-based UIs for tasks like configuring global settings (autowt config) or switching between existing worktrees (autowt switch).

Links

For more information, examples, and detailed documentation, please refer to the official resources:

Related repositories

Similar repositories that may be relevant next.

Tiny8: An Educational 8-bit CPU Simulator with Interactive Visualization

Tiny8: An Educational 8-bit CPU Simulator with Interactive Visualization

June 19, 2026

Tiny8 is a lightweight and educational 8-bit CPU simulator written in Python. It offers an interactive terminal debugger and graphical animation to visualize program execution, making it ideal for learning computer architecture and assembly programming.

8-bit-computerassemblervisualization
AutoHedge: Build Your Autonomous AI Hedge Fund with Swarm Intelligence

AutoHedge: Build Your Autonomous AI Hedge Fund with Swarm Intelligence

June 15, 2026

AutoHedge is an enterprise-grade autonomous agent hedge fund that leverages swarm intelligence and specialized AI agents. This powerful Python project automates end-to-end market analysis, risk management, and trade execution. It allows users to build and deploy their own AI-driven trading strategies with minimal human intervention.

PythonAIHedge Fund
IPSpot: A Python Library for IP and Geolocation Data Retrieval

IPSpot: A Python Library for IP and Geolocation Data Retrieval

June 13, 2026

IPSpot is a powerful Python library designed to retrieve both public and private IPv4 and IPv6 addresses. It also provides detailed geolocation data, such as region, longitude, and latitude, using a reliable fallback mechanism across multiple API providers. This makes it an essential tool for network monitoring and location-based lookups directly from your system.

PythonIP AddressGeolocation
MOSS-TTS Family: Open-Source High-Fidelity Speech and Sound Generation

MOSS-TTS Family: Open-Source High-Fidelity Speech and Sound Generation

May 31, 2026

The MOSS-TTS Family offers an open-source suite of models for high-fidelity, highly expressive speech and sound generation. Designed for complex real-world scenarios, it covers stable long-form speech, multi-speaker dialogue, voice design, environmental sound effects, and real-time streaming TTS. This comprehensive family of models from MOSI.AI and OpenMOSS team provides robust solutions for diverse audio generation needs.

audioaudio-tokenizerllm

Source repository

Open the original repository on GitHub.

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️