Skip to content

feat: shell aliases for quick worktree navigation#6

Merged
kuderr merged 1 commit into
mainfrom
wt/aliases
Feb 25, 2026
Merged

feat: shell aliases for quick worktree navigation#6
kuderr merged 1 commit into
mainfrom
wt/aliases

Conversation

@kuderr
Copy link
Copy Markdown
Owner

@kuderr kuderr commented Feb 25, 2026

Summary

  • Adds aliases/git-wt.sh — shell aliases for faster git wt workflows
  • Adds aliases/install.sh — one-liner curl installer for the aliases
  • Pure bash, no grep/awk dependencies

Aliases

Alias Description
wtcd <name> cd into a worktree
wto cd into the origin (main) repo
wtn [name] Create worktree and cd into it
wtls / wtla List / list-all
wtrm / wtopen / wtclean / wtpath Shorthand for corresponding commands

Install:

curl -fsSL https://raw.githubusercontent.com/kuderr/git-wt/main/aliases/install.sh | bash

Test plan

  • wtn (named + auto) — creates worktree, parses path, cd works
  • wtcd — resolves path correctly
  • wto — resolves origin
  • wtrm — removes worktree + branch
  • wtls / wtla / wtopen / wtpath — pass through
  • Curl installer downloads and sources correctly after merge

🤖 Generated with Claude Code

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

The wtn function ran in a shell context where grep and awk
may not be in PATH. Replaced with read-based parsing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kuderr kuderr merged commit c836918 into main Feb 25, 2026
2 checks passed
@kuderr kuderr deleted the wt/aliases branch February 25, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant