Skip to content
/ wut Public

Add random branch names for wut new and a new wut mv command#3

Open
ulrikandersen wants to merge 1 commit intosimonbs:mainfrom
ulrikandersen:wut-new-random-names-and-mv
Open

Add random branch names for wut new and a new wut mv command#3
ulrikandersen wants to merge 1 commit intosimonbs:mainfrom
ulrikandersen:wut-new-random-names-and-mv

Conversation

@ulrikandersen
Copy link

When vibing you just wanna branch out quick - not stop and think of a name. Now wut new generates a random petname (e.g. wiggly-yellowtail) so you can start immediately, and wut mv lets you rename it once you know what you're actually building 🚀

  • wut new without arguments generates a random 2-word petname via golang-petname, with collision retry
  • wut mv <new-name> renames the current worktree's branch and moves its directory
  • wut mv <old> <new> renames a specific worktree by branch name
  • Tab completion updated to include mv

todo

  • Update screenshot in README with the new commands.

`wut new` without arguments now generates a random petname
(e.g. wiggly-yellowtail) so starting a new worktree is frictionless.
Explicit branch names still work as before.

`wut mv` lets you rename a worktree's branch and move its directory:
- `wut mv <new-name>` renames the current worktree
- `wut mv <old> <new>` renames a specific worktree
@ulrikandersen ulrikandersen force-pushed the wut-new-random-names-and-mv branch from d305da9 to eb11caa Compare February 19, 2026 12:20
@ulrikandersen
Copy link
Author

Thinking more about this, it might actually be nice to prefix the random name with a date to make them easier recognisable when you want to return to them at a later point.

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

Comments