Add random branch names for wut new and a new wut mv command#3
Open
ulrikandersen wants to merge 1 commit intosimonbs:mainfrom
Open
Add random branch names for wut new and a new wut mv command#3ulrikandersen wants to merge 1 commit intosimonbs:mainfrom
wut new and a new wut mv command#3ulrikandersen wants to merge 1 commit intosimonbs:mainfrom
Conversation
`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
d305da9 to
eb11caa
Compare
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When vibing you just wanna branch out quick - not stop and think of a name. Now
wut newgenerates a random petname (e.g.wiggly-yellowtail) so you can start immediately, andwut mvlets you rename it once you know what you're actually building 🚀wut newwithout arguments generates a random 2-word petname via golang-petname, with collision retrywut mv <new-name>renames the current worktree's branch and moves its directorywut mv <old> <new>renames a specific worktree by branch namemvtodo