Skip to content

worktree add: improve message for ambiguous remote branch name - #2197

Open
yoichi wants to merge 1 commit into
gitgitgadget:masterfrom
yoichi:improve-worktree-add-error-message
Open

worktree add: improve message for ambiguous remote branch name#2197
yoichi wants to merge 1 commit into
gitgitgadget:masterfrom
yoichi:improve-worktree-add-error-message

Conversation

@yoichi

@yoichi yoichi commented Aug 8, 2026

Copy link
Copy Markdown

No description provided.

@yoichi
yoichi force-pushed the improve-worktree-add-error-message branch from 40835c8 to 63d9b6b Compare August 8, 2026 06:17
Display a descriptive message when DWIM fails.

Add advice on how to work around this by specifying the fully
qualified name or by setting checkout.defaultRemote.

Signed-off-by: Yoichi NAKAYAMA <yoichi.nakayama@gmail.com>
@yoichi
yoichi force-pushed the improve-worktree-add-error-message branch from 63d9b6b to 00b814f Compare August 8, 2026 06:34
@yoichi

yoichi commented Aug 8, 2026

Copy link
Copy Markdown
Author

/submit

@gitgitgadget

gitgitgadget Bot commented Aug 8, 2026

Copy link
Copy Markdown

Submitted as pull.2197.git.1786177301832.gitgitgadget@gmail.com

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-2197/yoichi/improve-worktree-add-error-message-v1

To fetch this version to local tag pr-2197/yoichi/improve-worktree-add-error-message-v1:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-2197/yoichi/improve-worktree-add-error-message-v1

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