Skip to content

Worktree include

Mod by madwire

Copies gitignored files like .env into each new worktree of a repo automatically.

Git, diffs & code review0 starsupdated 1 mo agoadds shortcuts
Screenshot of Worktree include

What it does

Add a .worktreeinclude listing gitignored files, and open a space on the repo. A git post-checkout hook then copies those files into every new worktree, whether made from Herdr, Claude Code or git worktree add. Existing files are never overwritten.

A floating window, opened with cmd-alt-i, lists each repo, whether its hook is on, and what each worktree received. The window can copy files again on demand with cmd-alt-shift-i.

New git worktrees come ready to run. Add a .worktreeinclude to a repo, listing gitignored files like .env, .npmrc or config/local.json, and open a space on the repo. From then on, every new worktree of that repo gets those files copied in from the main checkout, whether you make it with Herdr's New worktree, Claude Code or git worktree add, and whether Herdr is open or not. A small floating window shows each repo, whether it's switched on, and what each worktree got. Nothing is ever overwritten.

From the author's RECIPE.md

Good for

Where it appears

Similar mods

Same job, overlapping tags and integrations.

All of Git, diffs & code review

Git Panel

by stefanoginella

Shows a repo's commit graph with staging, commits, branch actions and pushes in a right panel.

Git, diffs & code review125today

Redline

by iampedii

Opens GitLab merge requests or GitHub pull requests in a panel to review, comment and merge.

Git, diffs & code reviewKeyboard shortcuts404 days ago

GitHub

by mrolafsson

Lists your pull requests with merge status and opens worktrees or Claude Code on them from a popup.

Git, diffs & code reviewKeyboard shortcuts829 days ago

Issues & worktrees

by VladTemp27

Lists GitHub issues, PRs and Projects boards, and creates worktrees from a branch, issue or PR.

Git, diffs & code review718 days ago

gitview

by ChmaraX

Replaces the Changes panel with a list of changed files, diffs, staging, commits and review notes.

Git, diffs & code reviewKeyboard shortcuts66yesterday

herdr-ruminate

by flupke

Adds a review pane for Git or jj changes with review threads and progressive reviews for agent code.

Git, diffs & code review0today

Checks

by ZachMoreno

Lists the repo's GitHub pull requests with live CI checks and lets you merge from the pane.

Git, diffs & code reviewKeyboard shortcuts0today

Issue worktree

by meltin

Creates a git worktree from a GitHub issue or PR and shows its linked issue in the space sidebar

Git, diffs & code review021 days ago