Skip to content

feat: add-stash-command#99

Merged
BjoernKarma merged 3 commits into
mainfrom
feat/git-stash
May 29, 2026
Merged

feat: add-stash-command#99
BjoernKarma merged 3 commits into
mainfrom
feat/git-stash

Conversation

@BjoernKarma
Copy link
Copy Markdown
Owner

Why

Before running gitctl pull across many repositories, any local modifications must be safely stowed away or the pull will fail or produce conflicts. Doing git stash manually in each repo is tedious. A gitctl stash command fans out git stash across all discovered repositories in one step, making the common "stash → pull → pop" workflow frictionless.

What Changes

  • Add a stash subcommand that runs git stash (i.e. git stash push) on all discovered repositories.
  • Register stash alongside status, pull, and fetch in the root command.
  • Extend the runRaw command switch to handle stash.
  • Add stash to the supported commands table in the command-execution spec.

@BjoernKarma BjoernKarma merged commit b0d2263 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-stash-command

* feat: openspec apply add-stash-command

* feat: openspec archive add-stash-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