<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aasim Sani</title>
    <description>The latest articles on DEV Community by Aasim Sani (@aasimsani).</description>
    <link>https://dev.to/aasimsani</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3780972%2F4733d3d6-62d8-487d-896d-95a37154a205.jpeg</url>
      <title>DEV Community: Aasim Sani</title>
      <link>https://dev.to/aasimsani</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aasimsani"/>
    <language>en</language>
    <item>
      <title>🪟 gwt — Stupidly Simple Git Worktrees in PowerShell. Isolated Branches for AI Coding.</title>
      <dc:creator>Aasim Sani</dc:creator>
      <pubDate>Thu, 19 Feb 2026 11:52:34 +0000</pubDate>
      <link>https://dev.to/aasimsani/gwt-stupidly-simple-git-worktrees-in-powershell-isolated-branches-for-ai-coding-33i3</link>
      <guid>https://dev.to/aasimsani/gwt-stupidly-simple-git-worktrees-in-powershell-isolated-branches-for-ai-coding-33i3</guid>
      <description>&lt;h2&gt;
  
  
  What are git worktrees?
&lt;/h2&gt;

&lt;p&gt;Worktrees let you check out multiple branches at once, each in its own folder. No more stashing and switching, just open another directory.&lt;/p&gt;

&lt;p&gt;If you've used them, you know this pain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;worktree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;add&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="nx"&gt;/myrepo-feature&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="nx"&gt;/myrepo-feature&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;feature/branch&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="nx"&gt;/myrepo-feature&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;cp&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-r&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="nx"&gt;/myrepo/.vscode&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;npm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;claude&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every single time.&lt;/p&gt;

&lt;p&gt;I got tired of it. So I built gwt, first for zsh, and now ported to PowerShell after Windows users kept asking.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;feature/new-thing&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Creates the worktree, auto-names it, cd's you in, configs copied, repo set up.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Faasimsani%2Fgwt-powershell%2Fraw%2Fmain%2Fassets%2Fdemo.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Faasimsani%2Fgwt-powershell%2Fraw%2Fmain%2Fassets%2Fdemo.gif" alt="gwt demo" width="760" height="380"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Stacking
&lt;/h3&gt;

&lt;p&gt;Create worktrees from your current branch and navigate the chain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="c"&gt;# You're in feature/api-v2&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--stack&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;feature/api-v2-tests&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="c"&gt;# or -Stack&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="c"&gt;# Navigate&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="c"&gt;# parent worktree&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;...&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="c"&gt;# root worktree&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Smart naming
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;aasim/eng-1234-add-user-auth&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="c"&gt;# Creates: ../myrepo-eng-1234&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;feature/add-new-dashboard-components&lt;/span&gt;&lt;span class="w"&gt;  
&lt;/span&gt;&lt;span class="c"&gt;# Creates: ../myrepo-add-new-dashboard&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Interactive menus
&lt;/h3&gt;

&lt;p&gt;Numbered menus for branch selection and pruning. Search through your branches when creating worktrees, multi-select when cleaning up old ones.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt;              &lt;/span&gt;&lt;span class="c"&gt;# pick from branches&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--prune&lt;/span&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="c"&gt;# or -Prune, multi-select worktrees to remove&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--list&lt;/span&gt;&lt;span class="w"&gt;       &lt;/span&gt;&lt;span class="c"&gt;# or -List, see the whole tree&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Config copying
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$&lt;/span&gt;&lt;span class="nn"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;GWT_COPY_DIRS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;".vscode,.env"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;feature/new-thing&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c"&gt;# configs already there&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Post-create hooks
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$&lt;/span&gt;&lt;span class="nn"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;GWT_POST_CREATE_CMD&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"npm install"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="c"&gt;# PSGallery&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Install-Module&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Name&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;GWT&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Scope&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;CurrentUser&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="c"&gt;# Add to your $PROFILE:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;Import-Module&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;GWT&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Works on Windows and macOS (PowerShell 7+).&lt;/p&gt;

&lt;h2&gt;
  
  
  Commands
&lt;/h2&gt;

&lt;p&gt;Supports both &lt;code&gt;--flag&lt;/code&gt; and &lt;code&gt;-Flag&lt;/code&gt; syntax:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;feature/branch&lt;/span&gt;&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="c"&gt;# Create from main&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--stack&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;feature/x&lt;/span&gt;&lt;span class="w"&gt;         &lt;/span&gt;&lt;span class="c"&gt;# or -Stack, create from current branch&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--from&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;dev&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;feature/x&lt;/span&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="c"&gt;# or -From, create from specific branch&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="c"&gt;# Parent worktree&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;...&lt;/span&gt;&lt;span class="w"&gt;                       &lt;/span&gt;&lt;span class="c"&gt;# Root worktree&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--list&lt;/span&gt;&lt;span class="w"&gt;                    &lt;/span&gt;&lt;span class="c"&gt;# or -List, see all worktrees&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--info&lt;/span&gt;&lt;span class="w"&gt;                    &lt;/span&gt;&lt;span class="c"&gt;# or -Info, stack info&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--prune&lt;/span&gt;&lt;span class="w"&gt;                   &lt;/span&gt;&lt;span class="c"&gt;# or -Prune, interactive cleanup&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;gwt&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;--config&lt;/span&gt;&lt;span class="w"&gt;                  &lt;/span&gt;&lt;span class="c"&gt;# or -Config, configure settings&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why this matters for Claude Code users
&lt;/h2&gt;

&lt;p&gt;Claude Code works best when you give it a clean worktree: isolated context, no uncommitted changes from other work bleeding in. gwt makes spinning up those worktrees instant instead of a chore.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/aasimsani/gwt-powershell" rel="noopener noreferrer"&gt;aasimsani/gwt-powershell&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ZSH version&lt;/strong&gt;: &lt;a href="https://github.com/aasimsani/gwt-zsh" rel="noopener noreferrer"&gt;aasimsani/gwt-zsh&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback welcome.&lt;/p&gt;

</description>
      <category>git</category>
      <category>powershell</category>
      <category>windows</category>
      <category>claudecode</category>
    </item>
    <item>
      <title>🌳 gwt — Stupidly Simple Git Worktrees. Isolated Branches for AI Coding.</title>
      <dc:creator>Aasim Sani</dc:creator>
      <pubDate>Thu, 19 Feb 2026 11:52:22 +0000</pubDate>
      <link>https://dev.to/aasimsani/gwt-stupidly-simple-git-worktrees-isolated-branches-for-ai-coding-120k</link>
      <guid>https://dev.to/aasimsani/gwt-stupidly-simple-git-worktrees-isolated-branches-for-ai-coding-120k</guid>
      <description>&lt;h2&gt;
  
  
  What are git worktrees?
&lt;/h2&gt;

&lt;p&gt;Worktrees let you check out multiple branches at once, each in its own folder. No more stashing and switching, just open another directory.&lt;/p&gt;

&lt;p&gt;If you've used them, you know this pain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git worktree add ../myrepo-feature ../myrepo-feature feature/branch
&lt;span class="nb"&gt;cd&lt;/span&gt; ../myrepo-feature
&lt;span class="nb"&gt;cp&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; ../myrepo/.vscode &lt;span class="nb"&gt;.&lt;/span&gt;
npm &lt;span class="nb"&gt;install
&lt;/span&gt;claude
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every single time.&lt;/p&gt;

&lt;p&gt;I got tired of it. So I built gwt.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gwt feature/new-thing
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Creates the worktree, auto-names it, cd's you in, configs copied, Claude Code started, repo set up.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Faasimsani%2Fgwt-zsh%2Fraw%2Fmain%2Fassets%2Fdemo.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Faasimsani%2Fgwt-zsh%2Fraw%2Fmain%2Fassets%2Fdemo.gif" alt="gwt demo" width="760" height="380"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Yet another git worktree tool? Yeah. gwq, branchlet, git-worktree-runner, wt... they all exist. But I'm impatient. Everything else made me type too much.&lt;/p&gt;

&lt;p&gt;Here's what gwt does:&lt;/p&gt;

&lt;h2&gt;
  
  
  Stacking
&lt;/h2&gt;

&lt;p&gt;Run &lt;code&gt;gwt child-branch&lt;/code&gt; from any worktree and it branches from where you are. &lt;code&gt;gwt ..&lt;/code&gt; goes back to parent, &lt;code&gt;gwt ...&lt;/code&gt; to root.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# You're in feature/api-v2&lt;/span&gt;
gwt &lt;span class="nt"&gt;--stack&lt;/span&gt; feature/api-v2-tests

&lt;span class="c"&gt;# Navigate the chain&lt;/span&gt;
gwt ..    &lt;span class="c"&gt;# back to feature/api-v2&lt;/span&gt;
gwt ...   &lt;span class="c"&gt;# back to main&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Smart naming
&lt;/h2&gt;

&lt;p&gt;Linear-style branches like &lt;code&gt;aasim/eng-1234-add-feature&lt;/code&gt; become &lt;code&gt;repo-eng-1234&lt;/code&gt;. Regular branches use first few words.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gwt aasim/eng-1234-add-user-authentication
&lt;span class="c"&gt;# Creates: ../myrepo-eng-1234&lt;/span&gt;

gwt feature/add-new-dashboard-components  
&lt;span class="c"&gt;# Creates: ../myrepo-add-new-dashboard&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Tab completion &amp;amp; fuzzy finding
&lt;/h2&gt;

&lt;p&gt;Full zsh autocompletion for all commands, flags, branches, and worktree names. If you have fzf installed, gwt uses it everywhere: fuzzy search through branches, multi-select when pruning. No fzf? Falls back to numbered menus.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gwt          &lt;span class="c"&gt;# fzf picker for branches&lt;/span&gt;
gwt &lt;span class="nt"&gt;--prune&lt;/span&gt;  &lt;span class="c"&gt;# multi-select worktrees to remove&lt;/span&gt;
gwt &lt;span class="nt"&gt;--list&lt;/span&gt;   &lt;span class="c"&gt;# see the whole tree at a glance&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Config copying
&lt;/h2&gt;

&lt;p&gt;Automatically copies &lt;code&gt;.vscode/&lt;/code&gt;, &lt;code&gt;.env&lt;/code&gt;, or whatever dirs you configure to new worktrees.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;GWT_COPY_DIRS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;".vscode,.env,.idea"&lt;/span&gt;
gwt feature/new-thing  &lt;span class="c"&gt;# .vscode/ already there&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Post-create hooks
&lt;/h2&gt;

&lt;p&gt;Run any command after creation: &lt;code&gt;npm install&lt;/code&gt;, &lt;code&gt;claude&lt;/code&gt;, &lt;code&gt;code .&lt;/code&gt;, &lt;code&gt;uv sync&lt;/code&gt;, whatever.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;GWT_POST_CREATE_CMD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"npm install &amp;amp;&amp;amp; claude"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Oh-My-Zsh&lt;/span&gt;
git clone https://github.com/aasimsani/gwt-zsh &lt;span class="se"&gt;\&lt;/span&gt;
  ~/.oh-my-zsh/custom/plugins/gwt
omz plugin &lt;span class="nb"&gt;enable &lt;/span&gt;gwt

&lt;span class="c"&gt;# Or:&lt;/span&gt;
zinit light aasimsani/gwt-zsh
antigen bundle aasimsani/gwt-zsh
zplug &lt;span class="s2"&gt;"aasimsani/gwt-zsh"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Commands
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gwt feature/branch       &lt;span class="c"&gt;# Create from main&lt;/span&gt;
gwt &lt;span class="nt"&gt;--stack&lt;/span&gt; feature/x    &lt;span class="c"&gt;# Create from current branch&lt;/span&gt;
gwt &lt;span class="nt"&gt;--from&lt;/span&gt; dev feature/x &lt;span class="c"&gt;# Create from specific branch&lt;/span&gt;

gwt ..                   &lt;span class="c"&gt;# Go to parent worktree&lt;/span&gt;
gwt ...                  &lt;span class="c"&gt;# Go to root worktree&lt;/span&gt;

gwt &lt;span class="nt"&gt;--list&lt;/span&gt;               &lt;span class="c"&gt;# See all worktrees with hierarchy&lt;/span&gt;
gwt &lt;span class="nt"&gt;--info&lt;/span&gt;               &lt;span class="c"&gt;# Stack info for current worktree&lt;/span&gt;
gwt &lt;span class="nt"&gt;--prune&lt;/span&gt;              &lt;span class="c"&gt;# Interactive cleanup&lt;/span&gt;
gwt &lt;span class="nt"&gt;--config&lt;/span&gt;             &lt;span class="c"&gt;# Configure settings&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Claude Code integration
&lt;/h2&gt;

&lt;p&gt;If you use Claude Code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gwt &lt;span class="nt"&gt;--setup-skill&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then &lt;code&gt;/gwt&lt;/code&gt; in any session loads the command reference.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/aasimsani/gwt-zsh" rel="noopener noreferrer"&gt;aasimsani/gwt-zsh&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PowerShell version&lt;/strong&gt;: &lt;a href="https://github.com/aasimsani/gwt-powershell" rel="noopener noreferrer"&gt;aasimsani/gwt-powershell&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Looking for feedback, happy with an honest roast too.&lt;/p&gt;

</description>
      <category>git</category>
      <category>zsh</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
