shmuelie / shmuelie/bash-scripts
Port: enter successfully created worktrees by default
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 0
- Forks
- 0
- Avg merge
- 4m
- Merged PRs (30d)
- 2
Description
Upstream shmuelie/powershell-modules#167 changes creation of a new worktree or checkout of an existing branch to enter the created worktree by default.
Port the behavior with an explicit preserve-current-directory opt-out and temporary compatibility for existing navigation flags. Explicit false legacy values must retain their previous no-navigation meaning. Failed creation, preview and declined confirmation must never change the caller's directory. Resolve relative destinations against the source repository, not an unrelated caller directory, and document the breaking default/migration path.
Use the bash port's existing command and option conventions; this is a separate implementation from the PowerShell change.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing worktree creation or checkout command and its option parsing, then review the bash port's current navigation flags and conventions. Verify the default entry behavior, the preserve-current-directory opt-out, legacy false values, relative destinations, and no-navigation failure cases. Done includes documentation of the breaking default and migration path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, git
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100