Skip to content

Allow mismatched local/remote branch names - #44

Open
erich-clickup wants to merge 1 commit into
dimikot:mainfrom
erich-clickup:main
Open

Allow mismatched local/remote branch names#44
erich-clickup wants to merge 1 commit into
dimikot:mainfrom
erich-clickup:main

Conversation

@erich-clickup

@erich-clickup erich-clickup commented Jul 13, 2026

Copy link
Copy Markdown

Summary

Using worktrees, each worktree needs to check its own branch.
But they can all be setup to track master so that git grok and git pull --rebase commands all still work properly.

Seems like all that needs to be done is check the upstream for the remote branch name

How was this tested?

git worktree add wt-test
git branch --set-upstream-to=origin/master
git config push.default upstream
Ghostty 2026-07-13 16 49 37

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