Skip to content

Add config options for optional fetch and set_branch on worktree crea…#139

Open
timello wants to merge 1 commit intoThePrimeagen:masterfrom
timello:master
Open

Add config options for optional fetch and set_branch on worktree crea…#139
timello wants to merge 1 commit intoThePrimeagen:masterfrom
timello:master

Conversation

@timello
Copy link

@timello timello commented Dec 9, 2025

…tion

Adds fetch_on_create and set_upstream_on_create config options (both default to true). This allows users to disable automatic fetch and upstream tracking when creating worktrees, useful for offline work or faster worktree creation.

When set_upstream_on_create is enabled, fetch automatically runs as it's required for setting the upstream branch. The autopush feature requires set_upstream_on_create to be enabled.

…tion

Adds fetch_on_create and set_upstream_on_create config options (both default
to true). This allows users to disable automatic fetch and upstream tracking
when creating worktrees, useful for offline work or faster worktree creation.

When set_upstream_on_create is enabled, fetch automatically runs as it's
required for setting the upstream branch. The autopush feature requires
set_upstream_on_create to be enabled.
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