shmuelie / shmuelie/bash-scripts

Port: enter successfully created worktrees by default

Open
#50 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement question upstream-parity
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.