Skip to content

feat: add-fetch-command#98

Merged
BjoernKarma merged 2 commits into
mainfrom
feat/git-fetch
May 29, 2026
Merged

feat: add-fetch-command#98
BjoernKarma merged 2 commits into
mainfrom
feat/git-fetch

Conversation

@BjoernKarma
Copy link
Copy Markdown
Owner

@BjoernKarma BjoernKarma commented May 29, 2026

Why

gitctl supports status and pull across multiple repositories, but lacks fetch — a safe, read-only operation that updates remote-tracking refs without touching the working tree. This makes it impossible to check whether repos are behind their remotes without also running a full pull.

What Changes

  • Add a fetch subcommand that runs git fetch on all discovered repositories.
  • Register fetch alongside status and pull in the root command.
  • Extend the GitRepo.runRaw command switch to handle fetch.

@BjoernKarma BjoernKarma merged commit ade5624 into main May 29, 2026
8 checks passed
gitctl-bot Bot pushed a commit that referenced this pull request May 29, 2026
# [1.3.0](v1.2.0...v1.3.0) (2026-05-29)

### Features

* add-branch-command ([#100](#100)) ([b5661f0](b5661f0))
* add-fetch-command ([#98](#98)) ([ade5624](ade5624))
* add-stash-command ([#99](#99)) ([b0d2263](b0d2263))
BjoernKarma added a commit that referenced this pull request Jun 1, 2026
* docs: openspec propose add-fetch-command

* feat: openspec apply add-fetch-command

---------

Co-authored-by: Björn Kottner <1780890+BjoernKarma@users.noreply.github.com>
BjoernKarma pushed a commit that referenced this pull request Jun 1, 2026
# [1.3.0](v1.2.0...v1.3.0) (2026-05-29)

### Features

* add-branch-command ([#100](#100)) ([538f1c3](538f1c3))
* add-fetch-command ([#98](#98)) ([d651947](d651947))
* add-stash-command ([#99](#99)) ([c947f8e](c947f8e))
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