Skip to content

feat: use single-branch mode and fetch remote branches on demand#78

Merged
dwilding merged 6 commits intomainfrom
fetched-branches
Feb 20, 2026
Merged

feat: use single-branch mode and fetch remote branches on demand#78
dwilding merged 6 commits intomainfrom
fetched-branches

Conversation

@dwilding
Copy link
Copy Markdown
Owner

@dwilding dwilding commented Feb 20, 2026

This PR changes how gimmegit fetches branches from remotes. Instead of fetching all branches from origin, gimmegit now clones with --single-branch, which fetches origin/main only. If an existing branch is being checked out, or a base branch from origin is needed, gimmegit fetches the branch on demand. Similarly, if a base branch from upstream is needed, gimmegit fetches the branch on demand, instead of fetching all branches from upstream.

@dwilding dwilding marked this pull request as ready for review February 20, 2026 02:13
Copilot AI review requested due to automatic review settings February 20, 2026 02:13

This comment was marked as resolved.

@dwilding dwilding merged commit 0546927 into main Feb 20, 2026
8 checks passed
@dwilding dwilding deleted the fetched-branches branch February 20, 2026 02:43
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.

2 participants